Incompatible compilers
-
Hi,
I am trying to build a 32-bit application. I have configured the kit Qt 5.12.0 MSVC2017 32bit.
C++ compiler : Microsoft Visual C++ Compiler 14.0(x86)
However there is a warning which says
The compiler "Microsoft Visual C++ Compiler 14.0(x86)" (x86-windows-msvc2015-pe-32bit) may not produce code compatible with Qt Version "Qt 5.12.0 MSVC2017 32bit" (x86-windows-msvc2017-pe-32bit) "Interestingly, I cant't see
Qt 5.12.0 MSVC2015 32bitin my list of kits available, and I don't have compatible compilers forQt 5.12.0 MSVC2017 32bitas well !!Any suggestions?
-
Hi,
I am trying to build a 32-bit application. I have configured the kit Qt 5.12.0 MSVC2017 32bit.
C++ compiler : Microsoft Visual C++ Compiler 14.0(x86)
However there is a warning which says
The compiler "Microsoft Visual C++ Compiler 14.0(x86)" (x86-windows-msvc2015-pe-32bit) may not produce code compatible with Qt Version "Qt 5.12.0 MSVC2017 32bit" (x86-windows-msvc2017-pe-32bit) "Interestingly, I cant't see
Qt 5.12.0 MSVC2015 32bitin my list of kits available, and I don't have compatible compilers forQt 5.12.0 MSVC2017 32bitas well !!Any suggestions?
@viniltc said in Incompatible compilers:
Any suggestions?
Since MSVC 2015 and 2017 are not compatible (as you already found out) you only have two options
- use a MSVC2017 compiler
- compile Qt with MSVC2015 by yourself
I would go with the latter since MSVC2015 is way too old.
-
@viniltc said in Incompatible compilers:
Any suggestions?
Since MSVC 2015 and 2017 are not compatible (as you already found out) you only have two options
- use a MSVC2017 compiler
- compile Qt with MSVC2015 by yourself
I would go with the latter since MSVC2015 is way too old.
@Christian-Ehrlicher Hi, If I compile wih MSVC2015. I get an error :
:-1: error: LNK1158: cannot run 'rc.exe'I remember it is something related to some settings within the systems environment. Not sure what exactly it is.
-
@Christian-Ehrlicher Hi, If I compile wih MSVC2015. I get an error :
:-1: error: LNK1158: cannot run 'rc.exe'I remember it is something related to some settings within the systems environment. Not sure what exactly it is.
@viniltc said in Incompatible compilers:
If I compile wih MSVC2015. I get an error :
What do you compile?
MSVC2015 is more then 8 years old - use a recent compiler. -
@viniltc said in Incompatible compilers:
If I compile wih MSVC2015. I get an error :
What do you compile?
MSVC2015 is more then 8 years old - use a recent compiler.@Christian-Ehrlicher Hi, I've a basic question. Im not sure how to configure a new compiler. Do I need to install Visual Studio 2017 for that?
-
@Christian-Ehrlicher Hi, I've a basic question. Im not sure how to configure a new compiler. Do I need to install Visual Studio 2017 for that?
@viniltc said in Incompatible compilers:
Do I need to install Visual Studio 2017 for that?
When you want to use MSVC2017 you should install it, yes.
-
@viniltc said in Incompatible compilers:
Do I need to install Visual Studio 2017 for that?
When you want to use MSVC2017 you should install it, yes.