我正在尝试使用网络安装程序安装Qt的开源版本。 它会下载所有内容并安装到大约50%左右,然后错误开始弹出。 我收到以下错误:
Error during installation process (qt.qt5.51Z5.win64_rnsvcZ0‘l5_64):
l Execution failed (Unexpected exit code: 2): "C:\Qt\/Tools/QtCreator\bin
\sdktool.exe addQt --id qt.qt5.5125.win64_msvc2015_64 --nameQt %{Qt::Version}
MSVC2015 64bit --type Qt4ProjectManager.Qt\Version.Desktop --qrnake C:\Qt/
5.12.5/msvc2015_64/bin/qrnake.exe"
Error during installation process (qt,qt5.5125.win64_msvc2015_64):
Execution failed (Unexpected exit code: 2): "C:\QtVTools/QtCreator\bin
\sdktool.exe addKit --id qt,qt5.5125.win64_msvc2015_64_kit --name Desktop Qt %(Qt:Version) MSVC2015
64bit --Ctoolchain x86-windows-msvc2015-pe-64bit -Cxxtoolchain x86-windows-msvc2015-pe-64bit --qt
qt,qt5.5125.win64_msvc2015_64--debuggerengine4 --devicetype Desktop"
Error during installation process (qt,qt5.5125.win32_msvc2017):
Execution failed (Unexpected exit code: 2): "C:\QtVTools/QtCreator\bin
\sdktool.exe addQt --id qt.qt5.5125.win32_msvc2017 --name Qt %(Qt:Version} MSVC2017 32bit --type
Qt4ProjectManager.QtVersion.Desktop --qmake C:\Qt/ 5.12. 5/msvc2017 /bin/ qmake.exe"
Error during installation process (qt,qt5.5125.win64_msvc2017_64):
Execution failed (Unexpected exit code: 2): "C:\QtVTools/QtCreator\bin
\sdktool.exe addQt --id qt.qt5.5125.win64_msvc2017_64 --name Qt %(Qt:Version} MSVC2017 64bit --type
Qt4ProjectManager.QtVersion.Desktop --qmake Cc\Qt/ 5.12.5/msvc2017 _ 64/bin/ qmake.exe"
Error during installation process (qt,qt5.5125.win64_msvc2017_64):
Execution failed (Unexpected exit code: 2): "C:\Qt\/Tools/QtCreator\bin
\sdktool.exe addKit --id qt,qt5.5125.win64_msvc2017_64_kit --name Desktop Qt %(Qt:Version} MSVC2017
64bit --Ctoolchain x86-windows-msvc2017-pe-64bit -Cxxtoolchain x86-windows-msvc2017-pe-64bit --qt
qt.qt5.5125.win64_msvc2017_64 --debuggerengine 4 --devicetype Desktop"
我尝试了取消安装并重新安装,也重新下载了exe文件,但似乎没有起到任何帮助作用。