Solved qmake error
-
Compile Output:
qtcreator_ctrlc_stub: Command line failed: C:\Qt\Tools\QtCreator\bin\jom.exe qmake_all
The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code -1.
Error while building/deploying project untitled1 (kit: Desktop Qt 5.10.0 MSVC2017 64bit)
When executing step "qmake"I usually use MSVC2015 64bit. and works well from today , so I tried MinGW 32bit and MSVC2017. MinGW works but 2017 does not worked.
of course, the compilers are installed.
how to fix it? -
@name101 Please post what was printed before that lines.
And did you install Qt for VS2017? -
Running steps for project untitled1...
Starting: "C:\Qt\5.10.0\msvc2017_64\bin\qmake.exe" C:\Users\a\Documents\qtProject\untitled1\untitled1.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"
The process "C:\Qt\5.10.0\msvc2017_64\bin\qmake.exe" exited normally.
Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" qmake_alli'm using qt5.10
I used 2017 because it did not work in 2015, but it does not work either. -
Have you installed Microsoft Visual C++ Redistributable Packages for Visual Studio 2017?
-
Of course, the redistribution is also installed.
In fact, the problem is that I did not work in the well-used vc2015. -
@name101 Can you delete the build folder and do a fresh build to get the whole build log?
-
The output is the same even if clear&build after delete build folder.
if build log is talking about qtcreator's compile output, that's all.21:20:00: Running steps for project untitled4...
21:20:00: Starting: "C:\Qt\5.10.0\msvc2015_64\bin\qmake.exe" C:\Users\a\Documents\qtProject\untitled4\untitled4.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug"
21:20:01: The process "C:\Qt\5.10.0\msvc2015_64\bin\qmake.exe" exited normally.
21:20:01: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all
qtcreator_ctrlc_stub: Command line failed: C:\Qt\Tools\QtCreator\bin\jom.exe qmake_all
21:20:01: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code -1.
Error while building/deploying project untitled4 (kit: Desktop Qt 5.10.0 MSVC2015 64bit)
When executing step "qmake"the log of 2017 is also same.
and one stange message is printed in 'general message' as
"Running Windows Runtime device detection. No winrtrunner.exe found."
Could this be a problem with not being built? -
@name101 Please check your Kit: are there any warnings/errors?
-
@jsulm I'm reinstalled it again and now it working. thanks for attention.