Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Build QT Creator 5.15.2 from qt-everywhere-src-5.15.2.zip
Qt 6.11 is out! See what's new in the release blog

Build QT Creator 5.15.2 from qt-everywhere-src-5.15.2.zip

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 253 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zvivered
    wrote last edited by zvivered
    #1

    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

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote last edited by
      #2

      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

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        zvivered
        wrote last edited by
        #3

        Hi Christian,

        Highly appreciate your reply.

        I managed to install QT 5.15.2 with the maintenance tool.
        What QT Creator should I use ?
        According the tool, I can install only Creator 19.0.0.

        Best regards,
        Zvi

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved