5.12.5 Installation Error Using Maintenance Tool.
-
I have Qt 5.9.8 LTS installed successfully. I have been trying to also install 5.12.5 using the Maintenance Tool. I have tried 3 times and I keep getting an error at the same place, 97% install. Checking the error log I find these as the last couple lines of the install:
[5604994] perform qt.qt5.5125.win32_mingw73 operation: Execute
[5604994] - arguments: D:/Qt/Tools/QtCreator\bin\sdktool.exe, addKit, --id, qt.qt5.5125.win32_mingw73_kit, --name, Desktop Qt %{Qt:Version} MinGW 32-bit, --Ctoolchain, .gcc, --Cxxtoolchain, .g++, --qt, qt.qt5.5125.win32_mingw73, --debuggerid, , --devicetype, Desktop, UNDOEXECUTE, D:/Qt/Tools/QtCreator\bin\sdktool.exe, rmKit, --id, qt.qt5.5125.win32_mingw73_kit
[5605007] D:/Qt\/Tools/QtCreator\bin\sdktool.exe" started, arguments: "addKit --id qt.qt5.5125.win32_mingw73_kit --name Desktop Qt %{Qt:Version} MinGW 32-bit --Ctoolchain .gcc --Cxxtoolchain .g++ --qt qt.qt5.5125.win32_mingw73 --debuggerid --devicetype Desktop
[5605078] Warning: Error: Toolchain .gcc for language C does not exist.[5605078] Done
[5605078] Operation "Execute" with arguments "D:/Qt\/Tools/QtCreator\bin\sdktool.exe; addKit; --id; qt.qt5.5125.win32_mingw73_kit; --name; Desktop Qt %{Qt:Version} MinGW 32-bit; --Ctoolchain; .gcc; --Cxxtoolchain; .g++; --qt; qt.qt5.5125.win32_mingw73; --debuggerid; ; --devicetype; Desktop; UNDOEXECUTE; D:/Qt\/Tools/QtCreator\bin\sdktool.exe; rmKit; --id; qt.qt5.5125.win32_mingw73_kit" failed: Execution failed (Unexpected exit code: 2): "D:/Qt\/Tools/QtCreator\bin\sdktool.exe addKit --id qt.qt5.5125.win32_mingw73_kit --name Desktop Qt %{Qt:Version} MinGW 32-bit --Ctoolchain .gcc --Cxxtoolchain .g++ --qt qt.qt5.5125.win32_mingw73 --debuggerid --devicetype Desktop"
[5605078] Created warning message box "installationErrorWithRetry": "Installer Error", "Error during installation process (qt.qt5.5125.win32_mingw73):\nExecution failed (Unexpected exit code: 2): "D:/Qt\/Tools/QtCreator\bin\sdktool.exe addKit --id qt.qt5.5125.win32_mingw73_kit --name Desktop Qt %{Qt:Version} MinGW 32-bit --Ctoolchain .gcc --Cxxtoolchain .g++ --qt qt.qt5.5125.win32_mingw73 --debuggerid --devicetype Desktop""
[5736494] perform qt.qt5.5125.win32_mingw73 operation: Execute
[5736494] - arguments: D:/Qt/Tools/QtCreator\bin\sdktool.exe, addKit, --id, qt.qt5.5125.win32_mingw73_kit, --name, Desktop Qt %{Qt:Version} MinGW 32-bit, --Ctoolchain, .gcc, --Cxxtoolchain, .g++, --qt, qt.qt5.5125.win32_mingw73, --debuggerid, , --devicetype, Desktop, UNDOEXECUTE, D:/Qt/Tools/QtCreator\bin\sdktool.exe, rmKit, --id, qt.qt5.5125.win32_mingw73_kit
[5736511] D:/Qt\/Tools/QtCreator\bin\sdktool.exe" started, arguments: "addKit --id qt.qt5.5125.win32_mingw73_kit --name Desktop Qt %{Qt:Version} MinGW 32-bit --Ctoolchain .gcc --Cxxtoolchain .g++ --qt qt.qt5.5125.win32_mingw73 --debuggerid --devicetype Desktop
[5736552] Warning: Error: Toolchain .gcc for language C does not exist.[5736552] Done
[5736552] Operation "Execute" with arguments "D:/Qt\/Tools/QtCreator\bin\sdktool.exe; addKit; --id; qt.qt5.5125.win32_mingw73_kit; --name; Desktop Qt %{Qt:Version} MinGW 32-bit; --Ctoolchain; .gcc; --Cxxtoolchain; .g++; --qt; qt.qt5.5125.win32_mingw73; --debuggerid; ; --devicetype; Desktop; UNDOEXECUTE; D:/Qt\/Tools/QtCreator\bin\sdktool.exe; rmKit; --id; qt.qt5.5125.win32_mingw73_kit" failed: Execution failed (Unexpected exit code: 2): "D:/Qt\/Tools/QtCreator\bin\sdktool.exe addKit --id qt.qt5.5125.win32_mingw73_kit --name Desktop Qt %{Qt:Version} MinGW 32-bit --Ctoolchain .gcc --Cxxtoolchain .g++ --qt qt.qt5.5125.win32_mingw73 --debuggerid --devicetype Desktop"
[5736552] Created warning message box "installationErrorWithRetry": "Installer Error", "Error during installation process (qt.qt5.5125.win32_mingw73):\nExecution failed (Unexpected exit code: 2): "D:/Qt\/Tools/QtCreator\bin\sdktool.exe addKit --id qt.qt5.5125.win32_mingw73_kit --name Desktop Qt %{Qt:Version} MinGW 32-bit --Ctoolchain .gcc --Cxxtoolchain .g++ --qt qt.qt5.5125.win32_mingw73 --debuggerid --devicetype Desktop""
[5757336] undo qt.qt5.5125.win32_mingw73 operation: Execute
[5757336] - arguments: D:/Qt/Tools/QtCreator\bin\sdktool.exe, addKit, --id, qt.qt5.5125.win32_mingw73_kit, --name, Desktop Qt %{Qt:Version} MinGW 32-bit, --Ctoolchain, .gcc, --Cxxtoolchain, .g++, --qt, qt.qt5.5125.win32_mingw73, --debuggerid, , --devicetype, Desktop, UNDOEXECUTE, D:/Qt/Tools/QtCreator\bin\sdktool.exe, rmKit, --id, qt.qt5.5125.win32_mingw73_kit
[5757348] D:/Qt\/Tools/QtCreator\bin\sdktool.exe" started, arguments: "rmKit --id qt.qt5.5125.win32_mingw73_kit
[5757383] Warning: Error: Id was not found.I don't understand why it can't find the C tools. It seems at this point they should have been installed. Any ideas on where to start to fix this? Thank you,
-
I'm not using Windows often so it's just a guess, but: have your checked matching versionf MinGW compiler (it should have the same version number as in your chosen Qt release)?
-
Thanks for the input. On WIndows, when you run the Maintenance Tool you check off which compiler you want to use. The Maintenance Tool downloads that compiler. At the point this error happens I have seen the Maintenance Tool download the correct compiler to the Qt directory.