-- -- -- -- -- -- --
Development environment:
Qt5.9.0
Two compilation environment: MINGW_32 MSVC2015
Path:
Question:
-- -- -- -- -- -- --
In the MINGW compiler environment, new construction, will show a series of problems, as follows:
Error: Variable QMAKE_DEFAULT_INCDIRS is not defined.,,
After the execution of Qmake when the following error:
For project untitled12 15:10:40: step...
15:10:40: starting "C: \ Qt \ Qt5.9.0\5.9 \ mingw53_32 \ bin \ qmake exe" E: \ text \ untitled12 \ untitled12 pro - spec win32 - g + + "CONFIG +=debug" "CONFIG +=qml_debug"
System cannot find the specified file,
System cannot find the specified file,
System cannot find the specified file,
System cannot find the specified file,
System cannot find the specified file,
System cannot find the specified file,
C:/Qt/Qt5.9.0/5.9/mingw53_32 mkspecs/features/toolchain. PRF: 76: Variable QMAKE_DEFAULT_INCDIRS is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32 mkspecs/features/toolchain. PRF: 129: QMAKE_CXX.COM PILER_MACROS Variable is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32 mkspecs/features/toolchain. PRF: 76: Variable QMAKE_DEFAULT_INCDIRS is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32 mkspecs/features/toolchain. PRF: 129: QMAKE_CXX.COM PILER_MACROS Variable is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32 mkspecs/features/toolchain. PRF: 76: Variable QMAKE_DEFAULT_INCDIRS is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32 mkspecs/features/toolchain. PRF: 129: QMAKE_CXX.COM PILER_MACROS Variable is not defined.
15:10:42: process "C: \ Qt \ Qt5.9.0\5.9 \ mingw53_32 \ bin \ qmake exe" normal exit,
15:10:42: starting "C: \ Qt \ Qt5.9.0 \ Tools \ mingw530_32 \ bin \ mingw32 - make. Exe" qmake_all
Mingw32 - make: Nothing to be done for 'qmake_all.
15:10:43: process "C: \ Qt \ Qt5.9.0 \ Tools \ mingw530_32 \ bin \ mingw32 - make. Exe" normal exit,
15:10:43: Elapsed time: 00:03.
Qmake but if not, run directly, can skip the Qmake, interface can run ,
To compile under MSVC2015, perform Qmake, also have the above problem, but when run directly to the following error:
error: Failed to retrieve MSVC Environment from "C: \ Program Files \ Microsoft Visual Studio (x86) VC 14.0 \ \ vcvarsall bat" :
The system always find The file specified.
CodePudding user response:
How can say the Qt installation? I remember when I was in Qt5.9 Riga Qt5.2 version as if had a similar problem, you first to describe the processCodePudding user response: