The compiler cannot produce code for the Qt version 5.11.2
-
wrote on 23 Nov 2018, 08:21 last edited by
-
Hi , I have Qt 5.11.2 installed at C:\Qt
Wanted to use it with its compiler at C:\Qt\Tools\mingw530_32
But I get this error :
So it seems the compiler got incompatibility with the Qt itself. How is that even possible ?
@Arshia said in The compiler cannot produce code for the Qt version 5.11.2:
How is that even possible ?
Qt was compiled with msvc, you're trying to compile with mingw. The two compilers are not compatible, so you need to choose one of them and stick with it all the way.
-
@Arshia said in The compiler cannot produce code for the Qt version 5.11.2:
How is that even possible ?
Qt was compiled with msvc, you're trying to compile with mingw. The two compilers are not compatible, so you need to choose one of them and stick with it all the way.
wrote on 23 Nov 2018, 09:41 last edited by@kshegunov So my choice is MinGW. What should I do now ?
-
@kshegunov So my choice is MinGW. What should I do now ?
@Arshia
you have 2 options.- download Qt source code and compile it with the mingw compiler
- use the online installer and download the corret precompiled libary
-
wrote on 23 Nov 2018, 11:30 last edited by
I checked all these while installing. So are these just cant come along ?
-
Hi,
Use the MinGW32 version of Qt you installed.
As explained before, Visual Studio and MinGW can't be mixed and matched.
-
@Arshia said in The compiler cannot produce code for the Qt version 5.11.2:
I checked all these while installing.
2/7