Build QT Creator 5.15.2 from qt-everywhere-src-5.15.2.zip
-
Hello,
I have to install QT Creator 5.15.2
I did not find the binaries so I downloaded qt-everywhere-src-5.15.2.zip
Then:configure -prefix %CD%\qtbase -opensource -confirm-license -release -nomake examples -nomake tests
The configure was completed.
Then I ran nmake.After a while I got:
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -Oy- -Gy -GS -std:c++17 -utf-8 -EHsc -w44456 -w44457 -w44458 -W4 -wd4100 -wd4127 -wd4189 -wd4239 -wd4244 -wd4245 -wd4267 -wd4275 -wd4512 -wd4702 -wd4996 -wd4480 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -D_WINDOWS -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DWIN32_LEAN_AND_MEAN=1 -DANGLE_ENABLE_D3D11 -DANGLE_DEFAULT_D3D11=1 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DLIBANGLE_IMPLEMENTATION -DLIBGLESV2_IMPLEMENTATION -DGL_APICALL= -DGL_GLEXT_PROTOTYPES= -DEGLAPI= -DANGLE_ENABLE_D3D9 -DANGLE_SKIP_DXGI_1_2_CHECK -DANGLE_D3D11_QDTD_AVAILABLE -DNDEBUG -DQT_NO_DYNAMIC_CAST -D_WINDLL -I. -I. -I.. -ID:/zvi_vered/git/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/src/angle/src/../include -I..\..\..\3rdparty\angle\src -I..\..\..\3rdparty\angle\include -I..\..\..\3rdparty\angle\src\common\third_party\base -I..\..\src -I..\..\..\3rdparty\angle -I..\..\..\3rdparty\angle\src\libANGLE -I..\..\..\..\mkspecs\win32-msvc -Fo.obj\release\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\dxgi_format_map_autogen.obj ..\..\..\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\dxgi_format_map_autogen.cpp dxgi_format_map_autogen.cpp D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\dxgi_format_map_autogen.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument NMAKE : fatal error U1077: 'cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -Oy- -Gy -GS -std:c++17 -utf-8 -EHsc -w44456 -w44457 -w44458 -W4 -wd4100 -wd4127 -wd4189 -wd4239 -wd4244 -wd4245 -wd4267 -wd4275 -wd4512 -wd4702 -wd4996 -wd4480 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -D_WINDOWS -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DWIN32_LEAN_AND_MEAN=1 -DANGLE_ENABLE_D3D11 -DANGLE_DEFAULT_D3D11=1 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DLIBANGLE_IMPLEMENTATION -DLIBGLESV2_IMPLEMENTATION -DGL_APICALL= -DGL_GLEXT_PROTOTYPES= -DEGLAPI= -DANGLE_ENABLE_D3D9 -DANGLE_SKIP_DXGI_1_2_CHECK -DANGLE_D3D11_QDTD_AVAILABLE -DNDEBUG -DQT_NO_DYNAMIC_CAST -D_WINDLL -I. -I. -I.. -ID:/zvi_vered/git/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/src/angle/src/../include -I..\..\..\3rdparty\angle\src -I..\..\..\3rdparty\angle\include -I..\..\..\3rdparty\angle\src\common\third_party\base -I..\..\src -I..\..\..\3rdparty\angle -I..\..\..\3rdparty\angle\src\libANGLE -I..\..\..\..\mkspecs\win32-msvc -Fo.obj\release\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\dxgi_format_map_autogen.obj ..\..\..\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\dxgi_format_map_autogen.cpp' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX86\x86\nmake.exe" -f Makefile.Release' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd libGLESv2\ && ( if not exist Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\bin\qmake.exe -o Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\angle\src\libGLESv2\libGLESv2.pro ) && "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX86\x86\nmake.exe" -f Makefile' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd src\ && ( if not exist Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\bin\qmake.exe -o Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\angle\src\src.pro ) && "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX86\x86\nmake.exe" -f Makefile' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd angle\ && ( if not exist Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\bin\qmake.exe -o Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\angle\angle.pro ) && "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX86\x86\nmake.exe" -f Makefile' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd src\ && ( if not exist Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\bin\qmake.exe -o Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\src.pro ) && "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX86\x86\nmake.exe" -f Makefile' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd qtbase\ && ( if not exist Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\bin\qmake.exe -o Makefile D:\zvi_vered\git\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\qtbase.pro ) && "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX86\x86\nmake.exe" -f Makefile' : return code '0x2' Stop.Can you please advise where is my mistake ?
Thank you,
Zvi -
So you want to compile Qt5.12, not QtCreator 5.12. Why? You can install it through the Qt Maintenance Tool (Select 'Archive').
I would guess that's a path name problem - windows has the limitation to 255 chars here. Extract your Qt source to a shorter path and also please do an out-of source build -
Hi,
And it should be fine.
Qt Creator versions and Qt versions are not related.
You can use a current version of Qt Creator to work on your Qt 5 projects.