Can't set kit, qmake not executable or not found, process launcher wasn't started yet
-
Hello everyone,
I'm a teacher in an engineering school and students are working with Qt creator to make some development projects.
I've two students who have some issues with QtCreator. Their projects can't be opened correctly.
Kits selection seems disabled. In options, it says that qmake can't be found or is not executable.
I've tried on both computers to launch manually qmake (without options) and it seems to be executable.
When showing logs, I see the following output :17:25:42.905 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:25:42.910 default: Trying to start "C:/Qt/6.2.4/mingw_64/bin/qmake.exe" while process launcher wasn't started yet. 17:26:12.920 default: Cannot update Qt version information: C:/Qt/6.2.4/mingw_64/bin/qmake.exe cannot be run. 17:26:12.921 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:26:12.921 default: Trying to start "C:/Qt/6.3.0/msvc2019_64/bin/qmake.exe" while process launcher wasn't started yet. 17:26:15.956 default: The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\user\AppData\Local\Temp\QtCreator-hBDfWd\YnKvmx.bat" could not be started. 17:26:15.960 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:26:15.960 default: Trying to start "C:/Windows/system32/cmd.exe" while process launcher wasn't started yet. 17:26:42.935 default: Cannot update Qt version information: C:/Qt/6.3.0/msvc2019_64/bin/qmake.exe cannot be run. 17:26:42.936 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:26:42.936 default: Trying to start "C:/Qt/6.3.0/mingw_64/bin/qmake.exe" while process launcher wasn't started yet. 17:27:12.954 default: Cannot update Qt version information: C:/Qt/6.3.0/mingw_64/bin/qmake.exe cannot be run. 17:27:12.956 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:12.956 default: Trying to start "C:/Qt/6.2.4/msvc2019_64/bin/qmake.exe" while process launcher wasn't started yet. 17:27:15.973 default: The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\user\AppData\Local\Temp\QtCreator-hBDfWd\pWRuQN.bat" could not be started. 17:27:15.975 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:15.975 default: Trying to start "C:/Windows/system32/cmd.exe" while process launcher wasn't started yet. 17:27:42.983 default: Cannot update Qt version information: C:/Qt/6.2.4/msvc2019_64/bin/qmake.exe cannot be run. 17:27:43.007 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:43.007 default: Trying to start "C:/Qt/Tools/mingw1120_64/bin/gcc.exe" while process launcher wasn't started yet. 17:27:53.032 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:53.032 default: Trying to start "C:/Qt/Tools/mingw1120_64/bin/g++.exe" while process launcher wasn't started yet. 17:28:03.139 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:28:03.139 default: Trying to start "C:/Qt/Tools/mingw1120_64/bin/gcc.exe" while process launcher wasn't started yet. 17:28:13.171 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:28:13.171 default: Trying to start "C:/Qt/Tools/CMake_64/bin/cmake.exe" while process launcher wasn't started yet. 17:28:15.976 default: The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\user\AppData\Local\Temp\QtCreator-hBDfWd\zbBuXy.bat" could not be started. 17:28:15.980 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:28:15.980 default: Trying to start "C:/Windows/system32/cmd.exe" while process launcher wasn't started yet.
The Qt Creator version is 7.0.2. Various Qt Kits and compilers were tried without success (64 bits architecture).
One example of failing kit is 5.15.2 with MSVC 2019 64 bits compiler.
Has anyone an idea on how to fix this issue ? -
On Windows one thing that can stop processes (or delay them) from running is the antivirus.
Starting with Qt Creator 6 (if I remember correctly) the process launching is done via
qtcreator_processlauncher.exe
which makes things faster on ... Linux.But you can go back to having the processes started by Qt Creator itself by having the environment variable
QTC_USE_QPROCESS
set to1
before starting Qt Creator. -
Hello everyone,
I'm a teacher in an engineering school and students are working with Qt creator to make some development projects.
I've two students who have some issues with QtCreator. Their projects can't be opened correctly.
Kits selection seems disabled. In options, it says that qmake can't be found or is not executable.
I've tried on both computers to launch manually qmake (without options) and it seems to be executable.
When showing logs, I see the following output :17:25:42.905 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:25:42.910 default: Trying to start "C:/Qt/6.2.4/mingw_64/bin/qmake.exe" while process launcher wasn't started yet. 17:26:12.920 default: Cannot update Qt version information: C:/Qt/6.2.4/mingw_64/bin/qmake.exe cannot be run. 17:26:12.921 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:26:12.921 default: Trying to start "C:/Qt/6.3.0/msvc2019_64/bin/qmake.exe" while process launcher wasn't started yet. 17:26:15.956 default: The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\user\AppData\Local\Temp\QtCreator-hBDfWd\YnKvmx.bat" could not be started. 17:26:15.960 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:26:15.960 default: Trying to start "C:/Windows/system32/cmd.exe" while process launcher wasn't started yet. 17:26:42.935 default: Cannot update Qt version information: C:/Qt/6.3.0/msvc2019_64/bin/qmake.exe cannot be run. 17:26:42.936 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:26:42.936 default: Trying to start "C:/Qt/6.3.0/mingw_64/bin/qmake.exe" while process launcher wasn't started yet. 17:27:12.954 default: Cannot update Qt version information: C:/Qt/6.3.0/mingw_64/bin/qmake.exe cannot be run. 17:27:12.956 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:12.956 default: Trying to start "C:/Qt/6.2.4/msvc2019_64/bin/qmake.exe" while process launcher wasn't started yet. 17:27:15.973 default: The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\user\AppData\Local\Temp\QtCreator-hBDfWd\pWRuQN.bat" could not be started. 17:27:15.975 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:15.975 default: Trying to start "C:/Windows/system32/cmd.exe" while process launcher wasn't started yet. 17:27:42.983 default: Cannot update Qt version information: C:/Qt/6.2.4/msvc2019_64/bin/qmake.exe cannot be run. 17:27:43.007 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:43.007 default: Trying to start "C:/Qt/Tools/mingw1120_64/bin/gcc.exe" while process launcher wasn't started yet. 17:27:53.032 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:27:53.032 default: Trying to start "C:/Qt/Tools/mingw1120_64/bin/g++.exe" while process launcher wasn't started yet. 17:28:03.139 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:28:03.139 default: Trying to start "C:/Qt/Tools/mingw1120_64/bin/gcc.exe" while process launcher wasn't started yet. 17:28:13.171 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:28:13.171 default: Trying to start "C:/Qt/Tools/CMake_64/bin/cmake.exe" while process launcher wasn't started yet. 17:28:15.976 default: The command "C:\Windows\system32\cmd.exe /E:ON /V:ON /c C:\Users\user\AppData\Local\Temp\QtCreator-hBDfWd\zbBuXy.bat" could not be started. 17:28:15.980 default: SOFT ASSERT: "LauncherInterface::isStarted()" in file C:\Users\qt\work\build\qt-creator\src\libs\utils\launchersocket.cpp, line 368 17:28:15.980 default: Trying to start "C:/Windows/system32/cmd.exe" while process launcher wasn't started yet.
The Qt Creator version is 7.0.2. Various Qt Kits and compilers were tried without success (64 bits architecture).
One example of failing kit is 5.15.2 with MSVC 2019 64 bits compiler.
Has anyone an idea on how to fix this issue ?