简体   繁体   中英

Compile QJson on Windows with MinGW

I'm trying to compile QJson library for my Qt project and run it on Windows. I've downloaded zip from GitHub and follow this instructions on project website :

  1. created build folder
  2. cmake -G "MinGW Makefiles" ..
  3. mingw32-make and got next error: 命令输出

If I comment #include then it says locale_t type is unknown. So how to compile it?

Thanks!

I have found workaround. I was downloaded from official website QJson 0.8.1(newest for today), but it doesn't work. On forum I found someone's comment that now QJson doesn't support windows. On official website I haven't found this information so I don't know is it true.

But I've downloaded version 0.7.1 and it has compiled without any errors. Here is the link:

http://sourceforge.net/projects/qjson/files/qjson/0.7.1/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM