Not able to compile anything after installation Qt 5.9.1
-
This is my first time installing this software. I always worked on the Microsoft side, so I don't know anything about it, but why would there be a compiler bug right out of the gate? I can't compile anything trivial. I have red warning sign next to Options > Build & Run > Kits:
Based on Qt 5.9.1 (MSVC 2015, 32 bit)
Built on Sep 4 2017 04:09:5
From revision 60b8712a42QT versions:
Auto - Detected
Qt 5.9.1 MSVC201364bit C:\Qt\5.9.1\msvc2013_64\bin\qmake.exe
Qt 5.9.1 MSVC201564bit C:\Qt\5.9.1\msvc2015_64\bin\qmake.exeNo compiler can produce code for this Qt version.
What compiler do I need to setup in order for Qt to work?Just to be clear I have Visual Studio 2017 only.
Here is the output:
00:23:20: Running steps for project LindasSisterCoin-qt...
00:23:20: Configuration unchanged, skipping qmake step.
00:23:20: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'E:/Coins/LindaSisterCoin/source/build-LindasSisterCoin-qt-Desktop_Qt_5_9_1_MSVC2015_64bit-Debug'
cd E:/Coins/LindaSisterCoin/source/lindassistercoin-source/src/leveldb && CC=gcc CXX=g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE C:/Qt/Tools/mingw530_32/bin/mingw32-make OPT="-fno-keep-inline-dllexport -pipe -O2" libleveldb.a libmemenv.a && ranlib E:/Coins/LindaSisterCoin/source/lindassistercoin-source/src/leveldb/libleveldb.a && ranlib E:/Coins/LindaSisterCoin/source/lindassistercoin-source/src/leveldb/libmemenv.a
'CC' is not recognized as an internal or external command,
operable program or batch file.
Makefile.Debug:477: recipe for target 'E:/Coins/LindaSisterCoin/source/lindassistercoin-source/src/leveldb/libleveldb.a' failed
mingw32-make[1]: *** [E:/Coins/LindaSisterCoin/source/lindassistercoin-source/src/leveldb/libleveldb.a] Error 1
mingw32-make[1]: Leaving directory 'E:/Coins/LindaSisterCoin/source/build-LindasSisterCoin-qt-Desktop_Qt_5_9_1_MSVC2015_64bit-Debug'
Makefile:36: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
00:23:21: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project LindasSisterCoin-qt (kit: Desktop Qt 5.9.1 MSVC2015 64bit)
The kit Desktop Qt 5.9.1 MSVC2015 64bit has configuration issues which might be the root cause for this problem.
When executing step "Make"
00:23:21: Elapsed time: 00:01. -
Hi and welcome to devnet,
What exactly did you install ? You seem to have some sort of mess between MinGW and Visual Studio.
If you want to use only VS2017, then just install the Qt for VS2017 package.