PDA

View Full Version : Using Qt 5.7 with MSVC compiler



papercut87
12th August 2016, 18:37
Hi all, hope this is the right place to post my issue.
From several days, i'm trying to compile my project with the new Qt 5.7 library on Windows 10.
Before(Qt 5.5), i was using Mingw(still on Windows 10) and everyting was going fine.
The problem is that in this project i need to use qtwebkit so i ported everything to qtwebengine.(qtwebkit seems to be replaced by qtwebengine http://doc.qt.io/qt-5/qtwebengine-overview.html)
Unfortunately, Mingw does not support qtwebengine, so i had to download and use MSVC compiler from Visual Studio.
Now everytime i try to compile with MSVC2013 compiler i get this error:

C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(147) : fatal error C1189: #error : "No Target Architecture"

and the compiler point me inside the file winnt.h:


#elif !defined(RC_INVOKED)
#error "No Target Architecture"
#endif

what i'm doing wrong?

Thanks to all.