Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt6 Static Building (Windows, MinGW)
Forum Updated to NodeBB v4.3 + New Features

Qt6 Static Building (Windows, MinGW)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
20 Posts 5 Posters 6.1k Views 3 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.
  • SteveStageS SteveStage

    @SGaist,
    Yes, it's out-of-source build.
    I downloaded sources from there as it's faster and easier than cloning git repository. However, before I tried with copying from git repo and then run configure.bat (after init-repository of course), but result was the same.

    sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #5

    @SteveStage said in Qt6 Static Building (Windows, MinGW):

    @SGaist,
    Yes, it's out-of-source build.
    I downloaded sources from there as it's faster and easier than cloning git repository. However, before I tried with copying from git repo and then run configure.bat (after init-repository of course), but result was the same.

    Yes, zips from archive are very good, they make building Qt easier (IMO).

    For your error, I think passing -qt-zlib to configure should help. Check out configure -help for more libraries which you can automatically "bake into" your static Qt build.

    (Z(:^

    SteveStageS 1 Reply Last reply
    0
    • sierdzioS sierdzio

      @SteveStage said in Qt6 Static Building (Windows, MinGW):

      @SGaist,
      Yes, it's out-of-source build.
      I downloaded sources from there as it's faster and easier than cloning git repository. However, before I tried with copying from git repo and then run configure.bat (after init-repository of course), but result was the same.

      Yes, zips from archive are very good, they make building Qt easier (IMO).

      For your error, I think passing -qt-zlib to configure should help. Check out configure -help for more libraries which you can automatically "bake into" your static Qt build.

      SteveStageS Offline
      SteveStageS Offline
      SteveStage
      wrote on last edited by
      #6

      @sierdzio,
      It didn't help (nothing changed).

      SGaistS 1 Reply Last reply
      0
      • SteveStageS SteveStage

        @sierdzio,
        It didn't help (nothing changed).

        SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #7

        Are you still getting the syncqt error ?

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

        SteveStageS 1 Reply Last reply
        0
        • SGaistS SGaist

          Are you still getting the syncqt error ?

          SteveStageS Offline
          SteveStageS Offline
          SteveStage
          wrote on last edited by
          #8

          Yes, I do.

          SGaistS 1 Reply Last reply
          0
          • SteveStageS SteveStage

            Yes, I do.

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #9

            Can you find syncqt and run it manually to see if you get something out of it ?

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

            SteveStageS 1 Reply Last reply
            0
            • SGaistS SGaist

              Can you find syncqt and run it manually to see if you get something out of it ?

              SteveStageS Offline
              SteveStageS Offline
              SteveStage
              wrote on last edited by
              #10

              Yes, but why? Which arguments I'm supposed to run syncqt with?

              sierdzioS 1 Reply Last reply
              0
              • SteveStageS SteveStage

                Yes, but why? Which arguments I'm supposed to run syncqt with?

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by sierdzio
                #11

                @SteveStage said in Qt6 Static Building (Windows, MinGW):

                Yes, but why? Which arguments I'm supposed to run syncqt with?

                Single zips don't need syncqt at all. Only configure, compile, install.

                Here's my recommendation:

                • extract your sources to directory qt-everywhere-src-6.5.1
                • make directories: 6.5.1, 6.5.1-build
                • cd into 6.5.1-build
                • now run ../qt-everywhere-src-6.5.1/configure.bat -prefix "../6.5.1" -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                  *cmake --build . --parallel
                • cmake --install
                • done :-)

                After it is ready you can remove directories 6.5.1-build and qt-everywhere-src-6.5.1. Your Qt is fully contained in 6.5.1.

                If you need to recompile, or run configure again - remove 6.5.1-build, make it anew, cd into it, and repeat. This way you always have 100% clean build environment.

                The lines I pasted above were tested just a few days ago with Qt 6.4.3 and MSVC 2022. Since you are using MinGW some flags may need to be different.

                Also recommended: skip modules you don't need, for example: -skip qtcoap -skip qtopcua -skip qtscxml -skip qtwebengine -skip qt3d -skip qtconnectivity -skip qtlanguageserver -skip qtpositioning -skip qtsensors -skip qt5compat -skip qtdatavis3d -skip qtlottie -skip qtquick3d -skip qtserialbus -skip qtwebview -skip qtactiveqt -skip qtquick3dphysics -skip qtserialport -skip qtquicktimeline -skip qtwayland -skip qtcharts -skip qthttpserver -skip qtremoteobjects -skip qtspeech -skip qtwebchannel. You need to add this to configure line.

                (Z(:^

                SteveStageS 1 Reply Last reply
                1
                • sierdzioS sierdzio

                  @SteveStage said in Qt6 Static Building (Windows, MinGW):

                  Yes, but why? Which arguments I'm supposed to run syncqt with?

                  Single zips don't need syncqt at all. Only configure, compile, install.

                  Here's my recommendation:

                  • extract your sources to directory qt-everywhere-src-6.5.1
                  • make directories: 6.5.1, 6.5.1-build
                  • cd into 6.5.1-build
                  • now run ../qt-everywhere-src-6.5.1/configure.bat -prefix "../6.5.1" -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                    *cmake --build . --parallel
                  • cmake --install
                  • done :-)

                  After it is ready you can remove directories 6.5.1-build and qt-everywhere-src-6.5.1. Your Qt is fully contained in 6.5.1.

                  If you need to recompile, or run configure again - remove 6.5.1-build, make it anew, cd into it, and repeat. This way you always have 100% clean build environment.

                  The lines I pasted above were tested just a few days ago with Qt 6.4.3 and MSVC 2022. Since you are using MinGW some flags may need to be different.

                  Also recommended: skip modules you don't need, for example: -skip qtcoap -skip qtopcua -skip qtscxml -skip qtwebengine -skip qt3d -skip qtconnectivity -skip qtlanguageserver -skip qtpositioning -skip qtsensors -skip qt5compat -skip qtdatavis3d -skip qtlottie -skip qtquick3d -skip qtserialbus -skip qtwebview -skip qtactiveqt -skip qtquick3dphysics -skip qtserialport -skip qtquicktimeline -skip qtwayland -skip qtcharts -skip qthttpserver -skip qtremoteobjects -skip qtspeech -skip qtwebchannel. You need to add this to configure line.

                  SteveStageS Offline
                  SteveStageS Offline
                  SteveStage
                  wrote on last edited by
                  #12

                  I did just like you said, but result is the same...

                  $ ../qt-everywhere-src-6.5.1/configure.bat -prefix "../6.5.1" -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                  + cd qtbase
                  + D:\Desktop\qt\qt-everywhere-src-6.5.1\qtbase\configure.bat -top-level -prefix
                  ../6.5.1 -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runti
                  me -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harf
                  buzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -relea
                  se -nomake examples -nomake tests
                  -- Windows 10 SDK version:
                  opt: doubleconversion val: qt
                  Overriding option 'doubleconversion' with 'qt' (was: 'undefined')
                  opt: pcre val: qt
                  opt: zlib val: qt
                  opt: freetype val: qt
                  Overriding option 'freetype' with 'qt' (was: 'undefined')
                  opt: harfbuzz val: qt
                  Overriding option 'harfbuzz' with 'qt' (was: 'undefined')
                  opt: libpng val: qt
                  Overriding option 'libpng' with 'qt' (was: 'undefined')
                  opt: libjpeg val: qt
                  Overriding option 'libjpeg' with 'qt' (was: 'undefined')
                  opt: sqlite val: qt
                  opt: tiff val: qt
                  Overriding option 'tiff' with 'qt' (was: 'undefined')
                  opt: webp val: qt
                  Overriding option 'webp' with 'qt' (was: 'undefined')
                  'C:/Program Files/cmake/bin/cmake.exe' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTAL
                  L_PREFIX=../6.5.1' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE
                  _BUILD_TYPE=Release' '-DINPUT_static_runtime=yes' '-DINPUT_openssl=no' '-DINPUT_
                  schannel=yes' '-DINPUT_cxx14=yes' '-DINPUT_cxx17=yes' '-DINPUT_cxx20=yes' '-DINP
                  UT_cxx2b=no' '-DINPUT_dbus=runtime' '-DINPUT_icu=no' '-DINPUT_glib=no' '-DINPUT_
                  doubleconversion=qt' '-DINPUT_pcre=qt' '-DINPUT_system_zlib=no' '-DINPUT_freetyp
                  e=qt' '-DINPUT_harfbuzz=qt' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_sy
                  stem_sqlite=no' '-DINPUT_tiff=qt' '-DINPUT_webp=qt' '-G' 'Ninja' 'D:/Desktop/qt/
                  qt-everywhere-src-6.5.1'
                  -- The CXX compiler identification is GNU 13.1.0
                  -- The C compiler identification is GNU 13.1.0
                  -- The ASM compiler identification is GNU
                  -- Found assembler: C:/Program Files/mingw64/bin/gcc.exe
                  -- Detecting CXX compiler ABI info
                  -- Detecting CXX compiler ABI info - done
                  -- Check for working CXX compiler: C:/Program Files/mingw64/bin/c++.exe - skippe
                  d
                  -- Detecting CXX compile features
                  -- Detecting CXX compile features - done
                  -- Detecting C compiler ABI info
                  -- Detecting C compiler ABI info - done
                  -- Check for working C compiler: C:/Program Files/mingw64/bin/gcc.exe - skipped
                  -- Detecting C compile features
                  -- Detecting C compile features - done
                  -- Checking dependencies of submodule 'qtbase'
                  -- Checking dependencies of submodule 'qtimageformats'
                  -- Checking dependencies of submodule 'qtlanguageserver'
                  -- Checking dependencies of submodule 'qtshadertools'
                  -- Checking dependencies of submodule 'qtsvg'
                  -- Checking dependencies of submodule 'qtdeclarative'
                  -- Checking dependencies of submodule 'qtquicktimeline'
                  -- Checking dependencies of submodule 'qtquick3d'
                  -- Checking dependencies of submodule 'qtmultimedia'
                  -- Checking dependencies of submodule 'qt3d'
                  -- Checking dependencies of submodule 'qt5compat'
                  -- Checking dependencies of submodule 'qtactiveqt'
                  -- Checking dependencies of submodule 'qtcharts'
                  -- Checking dependencies of submodule 'qtcoap'
                  -- Checking dependencies of submodule 'qtconnectivity'
                  -- Checking dependencies of submodule 'qtdatavis3d'
                  -- Checking dependencies of submodule 'qtwebsockets'
                  -- Checking dependencies of submodule 'qthttpserver'
                  -- Checking dependencies of submodule 'qttools'
                  -- Checking dependencies of submodule 'qtserialport'
                  -- Checking dependencies of submodule 'qtpositioning'
                  -- Checking dependencies of submodule 'qtwebchannel'
                  -- Checking dependencies of submodule 'qtwebengine'
                  -- Checking dependencies of submodule 'qtdoc'
                  -- Checking dependencies of submodule 'qtgrpc'
                  -- Checking dependencies of submodule 'qtlocation'
                  -- Checking dependencies of submodule 'qtlottie'
                  -- Checking dependencies of submodule 'qtmqtt'
                  -- Checking dependencies of submodule 'qtnetworkauth'
                  -- Checking dependencies of submodule 'qtopcua'
                  -- Checking dependencies of submodule 'qtquick3dphysics'
                  -- Checking dependencies of submodule 'qtquickeffectmaker'
                  -- Checking dependencies of submodule 'qtremoteobjects'
                  -- Checking dependencies of submodule 'qtscxml'
                  -- Checking dependencies of submodule 'qtsensors'
                  -- Checking dependencies of submodule 'qtserialbus'
                  -- Checking dependencies of submodule 'qtspeech'
                  -- Checking dependencies of submodule 'qttranslations'
                  -- Checking dependencies of submodule 'qtvirtualkeyboard'
                  -- Checking dependencies of submodule 'qtwayland'
                  -- Checking dependencies of submodule 'qtwebview'
                  -- Configuring submodule 'qtbase'
                              -DCMAKE_C_FLAGS_DEBUG=-g
                              -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
                              -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                              -DCMAKE_CXX_FLAGS_DEBUG=-g
                              -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
                              -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                              -DCMAKE_OBJCOPY=C:/Program Files/mingw64/bin/objcopy.exe
                              -DCMAKE_C_STANDARD=11
                              -DCMAKE_C_STANDARD_REQUIRED=ON
                              -DCMAKE_CXX_STANDARD=17
                              -DCMAKE_CXX_STANDARD_REQUIRED=ON
                              -DCMAKE_MODULE_PATH:STRING=D:/Desktop/qt/qt-everywhere-src-6.5.1/qtb
                  ase/cmake/platforms
                  CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:243 (message):
                    syncqt.cpp failed for module QtZlib:
                  
                    The syncqt process exited with code Exit code 0xc0000139
                  
                     and without any useful output. This can happen if syncqt crashes due to the i
                  ncompatibilities with the standard C++ library located by either PATH or LD_LIBR
                  ARY_PATH environment variables. Please make sure that PATH or LD_LIBRARY_PATH do
                  n't point to the standard libraries different from the one you use for building
                  Qt.
                  Call Stack (most recent call first):
                    qtbase/cmake/QtModuleHelpers.cmake:873 (qt_internal_target_sync_headers)
                    qtbase/cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
                    qtbase/src/3rdparty/zlib/CMakeLists.txt:DEFERRED
                  
                  
                  -- Configuring incomplete, errors occurred!
                  CMake Error at D:/Desktop/qt/qt-everywhere-src-6.5.1/qtbase/cmake/QtProcessConfigureArgs.cmake:995 (message):
                    CMake exited with code 1.
                  

                  image1
                  ^ Base folder with other directories in it.

                  image2
                  ^ Folder 6.5.1-build.

                  What am I doing wrong?

                  sierdzioS 1 Reply Last reply
                  0
                  • SteveStageS SteveStage

                    I did just like you said, but result is the same...

                    $ ../qt-everywhere-src-6.5.1/configure.bat -prefix "../6.5.1" -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                    + cd qtbase
                    + D:\Desktop\qt\qt-everywhere-src-6.5.1\qtbase\configure.bat -top-level -prefix
                    ../6.5.1 -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runti
                    me -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harf
                    buzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -relea
                    se -nomake examples -nomake tests
                    -- Windows 10 SDK version:
                    opt: doubleconversion val: qt
                    Overriding option 'doubleconversion' with 'qt' (was: 'undefined')
                    opt: pcre val: qt
                    opt: zlib val: qt
                    opt: freetype val: qt
                    Overriding option 'freetype' with 'qt' (was: 'undefined')
                    opt: harfbuzz val: qt
                    Overriding option 'harfbuzz' with 'qt' (was: 'undefined')
                    opt: libpng val: qt
                    Overriding option 'libpng' with 'qt' (was: 'undefined')
                    opt: libjpeg val: qt
                    Overriding option 'libjpeg' with 'qt' (was: 'undefined')
                    opt: sqlite val: qt
                    opt: tiff val: qt
                    Overriding option 'tiff' with 'qt' (was: 'undefined')
                    opt: webp val: qt
                    Overriding option 'webp' with 'qt' (was: 'undefined')
                    'C:/Program Files/cmake/bin/cmake.exe' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTAL
                    L_PREFIX=../6.5.1' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE
                    _BUILD_TYPE=Release' '-DINPUT_static_runtime=yes' '-DINPUT_openssl=no' '-DINPUT_
                    schannel=yes' '-DINPUT_cxx14=yes' '-DINPUT_cxx17=yes' '-DINPUT_cxx20=yes' '-DINP
                    UT_cxx2b=no' '-DINPUT_dbus=runtime' '-DINPUT_icu=no' '-DINPUT_glib=no' '-DINPUT_
                    doubleconversion=qt' '-DINPUT_pcre=qt' '-DINPUT_system_zlib=no' '-DINPUT_freetyp
                    e=qt' '-DINPUT_harfbuzz=qt' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_sy
                    stem_sqlite=no' '-DINPUT_tiff=qt' '-DINPUT_webp=qt' '-G' 'Ninja' 'D:/Desktop/qt/
                    qt-everywhere-src-6.5.1'
                    -- The CXX compiler identification is GNU 13.1.0
                    -- The C compiler identification is GNU 13.1.0
                    -- The ASM compiler identification is GNU
                    -- Found assembler: C:/Program Files/mingw64/bin/gcc.exe
                    -- Detecting CXX compiler ABI info
                    -- Detecting CXX compiler ABI info - done
                    -- Check for working CXX compiler: C:/Program Files/mingw64/bin/c++.exe - skippe
                    d
                    -- Detecting CXX compile features
                    -- Detecting CXX compile features - done
                    -- Detecting C compiler ABI info
                    -- Detecting C compiler ABI info - done
                    -- Check for working C compiler: C:/Program Files/mingw64/bin/gcc.exe - skipped
                    -- Detecting C compile features
                    -- Detecting C compile features - done
                    -- Checking dependencies of submodule 'qtbase'
                    -- Checking dependencies of submodule 'qtimageformats'
                    -- Checking dependencies of submodule 'qtlanguageserver'
                    -- Checking dependencies of submodule 'qtshadertools'
                    -- Checking dependencies of submodule 'qtsvg'
                    -- Checking dependencies of submodule 'qtdeclarative'
                    -- Checking dependencies of submodule 'qtquicktimeline'
                    -- Checking dependencies of submodule 'qtquick3d'
                    -- Checking dependencies of submodule 'qtmultimedia'
                    -- Checking dependencies of submodule 'qt3d'
                    -- Checking dependencies of submodule 'qt5compat'
                    -- Checking dependencies of submodule 'qtactiveqt'
                    -- Checking dependencies of submodule 'qtcharts'
                    -- Checking dependencies of submodule 'qtcoap'
                    -- Checking dependencies of submodule 'qtconnectivity'
                    -- Checking dependencies of submodule 'qtdatavis3d'
                    -- Checking dependencies of submodule 'qtwebsockets'
                    -- Checking dependencies of submodule 'qthttpserver'
                    -- Checking dependencies of submodule 'qttools'
                    -- Checking dependencies of submodule 'qtserialport'
                    -- Checking dependencies of submodule 'qtpositioning'
                    -- Checking dependencies of submodule 'qtwebchannel'
                    -- Checking dependencies of submodule 'qtwebengine'
                    -- Checking dependencies of submodule 'qtdoc'
                    -- Checking dependencies of submodule 'qtgrpc'
                    -- Checking dependencies of submodule 'qtlocation'
                    -- Checking dependencies of submodule 'qtlottie'
                    -- Checking dependencies of submodule 'qtmqtt'
                    -- Checking dependencies of submodule 'qtnetworkauth'
                    -- Checking dependencies of submodule 'qtopcua'
                    -- Checking dependencies of submodule 'qtquick3dphysics'
                    -- Checking dependencies of submodule 'qtquickeffectmaker'
                    -- Checking dependencies of submodule 'qtremoteobjects'
                    -- Checking dependencies of submodule 'qtscxml'
                    -- Checking dependencies of submodule 'qtsensors'
                    -- Checking dependencies of submodule 'qtserialbus'
                    -- Checking dependencies of submodule 'qtspeech'
                    -- Checking dependencies of submodule 'qttranslations'
                    -- Checking dependencies of submodule 'qtvirtualkeyboard'
                    -- Checking dependencies of submodule 'qtwayland'
                    -- Checking dependencies of submodule 'qtwebview'
                    -- Configuring submodule 'qtbase'
                                -DCMAKE_C_FLAGS_DEBUG=-g
                                -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
                                -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                                -DCMAKE_CXX_FLAGS_DEBUG=-g
                                -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
                                -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                                -DCMAKE_OBJCOPY=C:/Program Files/mingw64/bin/objcopy.exe
                                -DCMAKE_C_STANDARD=11
                                -DCMAKE_C_STANDARD_REQUIRED=ON
                                -DCMAKE_CXX_STANDARD=17
                                -DCMAKE_CXX_STANDARD_REQUIRED=ON
                                -DCMAKE_MODULE_PATH:STRING=D:/Desktop/qt/qt-everywhere-src-6.5.1/qtb
                    ase/cmake/platforms
                    CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:243 (message):
                      syncqt.cpp failed for module QtZlib:
                    
                      The syncqt process exited with code Exit code 0xc0000139
                    
                       and without any useful output. This can happen if syncqt crashes due to the i
                    ncompatibilities with the standard C++ library located by either PATH or LD_LIBR
                    ARY_PATH environment variables. Please make sure that PATH or LD_LIBRARY_PATH do
                    n't point to the standard libraries different from the one you use for building
                    Qt.
                    Call Stack (most recent call first):
                      qtbase/cmake/QtModuleHelpers.cmake:873 (qt_internal_target_sync_headers)
                      qtbase/cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
                      qtbase/src/3rdparty/zlib/CMakeLists.txt:DEFERRED
                    
                    
                    -- Configuring incomplete, errors occurred!
                    CMake Error at D:/Desktop/qt/qt-everywhere-src-6.5.1/qtbase/cmake/QtProcessConfigureArgs.cmake:995 (message):
                      CMake exited with code 1.
                    

                    image1
                    ^ Base folder with other directories in it.

                    image2
                    ^ Folder 6.5.1-build.

                    What am I doing wrong?

                    sierdzioS Offline
                    sierdzioS Offline
                    sierdzio
                    Moderators
                    wrote on last edited by
                    #13

                    @SteveStage And for sources, you took .zip or .tar.xz? The zip has Windows line endings, maybe that has something to do with it.

                    If not, I'd try a different Qt version, like 6.5.0 or 6.4.3 maybe there is a bug in 6.5.1?

                    (Z(:^

                    SteveStageS 1 Reply Last reply
                    0
                    • sierdzioS sierdzio

                      @SteveStage And for sources, you took .zip or .tar.xz? The zip has Windows line endings, maybe that has something to do with it.

                      If not, I'd try a different Qt version, like 6.5.0 or 6.4.3 maybe there is a bug in 6.5.1?

                      SteveStageS Offline
                      SteveStageS Offline
                      SteveStage
                      wrote on last edited by SteveStage
                      #14

                      I tried sources from .tar.xz, and tried 6.5.0, but nothing changed. I have feeling that it's not because of version but because of my pc. May it be that my environment variables are wrong?

                      im
                      ^ Variable PATH.

                      1 Reply Last reply
                      0
                      • hskoglundH Offline
                        hskoglundH Offline
                        hskoglund
                        wrote on last edited by
                        #15

                        Hi I don't see any Python or Perl in your environment settings, did you install them.
                        Perl is optional for building Qt 6.5.x but Python is still needed.

                        SteveStageS 1 Reply Last reply
                        1
                        • hskoglundH hskoglund

                          Hi I don't see any Python or Perl in your environment settings, did you install them.
                          Perl is optional for building Qt 6.5.x but Python is still needed.

                          SteveStageS Offline
                          SteveStageS Offline
                          SteveStage
                          wrote on last edited by
                          #16
                          $ python -h
                          usage: C:\Users\thest\AppData\Local\Programs\Python\Python311\python.exe [option
                          ] ... [-c cmd | -m mod | file | -] [arg] ...
                          Options (and corresponding environment variables):
                          -b     : issue warnings about str(bytes_instance), str(bytearray_instance)
                                   and comparing bytes/bytearray with str. (-bb: issue errors)
                          -B     : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x
                          -c cmd : program passed in as string (terminates option list)
                          -d     : turn on parser debugging output (for experts only, only works on
                                   debug builds); also PYTHONDEBUG=x
                          -E     : ignore PYTHON* environment variables (such as PYTHONPATH)
                          -h     : print this help message and exit (also -? or --help)
                          -i     : inspect interactively after running script; forces a prompt even
                                   if stdin does not appear to be a terminal; also PYTHONINSPECT=x
                          -I     : isolate Python from the user's environment (implies -E and -s)
                          -m mod : run library module as a script (terminates option list)
                          -O     : remove assert and __debug__-dependent statements; add .opt-1 before
                                   .pyc extension; also PYTHONOPTIMIZE=x
                          -OO    : do -O changes and also discard docstrings; add .opt-2 before
                                   .pyc extension
                          -P     : don't prepend a potentially unsafe path to sys.path
                          -q     : don't print version and copyright messages on interactive startup
                          -s     : don't add user site directory to sys.path; also PYTHONNOUSERSITE
                          -S     : don't imply 'import site' on initialization
                          -u     : force the stdout and stderr streams to be unbuffered;
                                   this option has no effect on stdin; also PYTHONUNBUFFERED=x
                          -v     : verbose (trace import statements); also PYTHONVERBOSE=x
                                   can be supplied multiple times to increase verbosity
                          -V     : print the Python version number and exit (also --version)
                                   when given twice, print more information about the build
                          -W arg : warning control; arg is action:message:category:module:lineno
                                   also PYTHONWARNINGS=arg
                          -x     : skip first line of source, allowing use of non-Unix forms of #!cmd
                          -X opt : set implementation-specific option
                          --check-hash-based-pycs always|default|never:
                                   control how Python invalidates hash-based .pyc files
                          --help-env      : print help about Python environment variables and exit
                          --help-xoptions : print help about implementation-specific -X options and exit
                          --help-all      : print complete help information and exit
                          Arguments:
                          file   : program read from script file
                          -      : program read from stdin (default; interactive mode if a tty)
                          arg ...: arguments passed to program in sys.argv[1:]
                          

                          I guess it is?

                          1 Reply Last reply
                          0
                          • hskoglundH Offline
                            hskoglundH Offline
                            hskoglund
                            wrote on last edited by
                            #17

                            The command shell you are using, it has a prompt "$" is it PowerShell or MSys or?
                            If it's not CMD: best is if you do the Qt build from a CMD window (i.e. the ancient CMD.EXE)
                            Also, if you start a CMD window, does python -h still work in it?

                            SteveStageS 1 Reply Last reply
                            1
                            • hskoglundH hskoglund

                              The command shell you are using, it has a prompt "$" is it PowerShell or MSys or?
                              If it's not CMD: best is if you do the Qt build from a CMD window (i.e. the ancient CMD.EXE)
                              Also, if you start a CMD window, does python -h still work in it?

                              SteveStageS Offline
                              SteveStageS Offline
                              SteveStage
                              wrote on last edited by
                              #18

                              It is MSYS2.
                              I just tried it from PowerShell and I finally got something other than with Git Bash.

                              PS D:\Desktop\qt-w\6.5.1-build> ../qt-everywhere-src-6.5.1/configure.bat -prefix "../6.5.1" -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                              + cd qtbase
                              + D:\Desktop\qt-w\qt-everywhere-src-6.5.1\qtbase\configure.bat -top-level -prefix ../6.5.1 -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                              -- Windows 10 SDK version:
                              opt: doubleconversion val: qt
                              Overriding option 'doubleconversion' with 'qt' (was: 'undefined')
                              opt: pcre val: qt
                              opt: zlib val: qt
                              opt: freetype val: qt
                              Overriding option 'freetype' with 'qt' (was: 'undefined')
                              opt: harfbuzz val: qt
                              Overriding option 'harfbuzz' with 'qt' (was: 'undefined')
                              opt: libpng val: qt
                              Overriding option 'libpng' with 'qt' (was: 'undefined')
                              opt: libjpeg val: qt
                              Overriding option 'libjpeg' with 'qt' (was: 'undefined')
                              opt: sqlite val: qt
                              opt: tiff val: qt
                              Overriding option 'tiff' with 'qt' (was: 'undefined')
                              opt: webp val: qt
                              Overriding option 'webp' with 'qt' (was: 'undefined')
                              'C:/Program Files/cmake/bin/cmake.exe' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=../6.5.1' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_static_runtime=yes' '-DINPUT_openssl=no' '-DINPUT_schannel=yes' '-DINPUT_cxx14=yes' '-DINPUT_cxx17=yes' '-DINPUT_cxx20=yes' '-DINPUT_cxx2b=no' '-DINPUT_dbus=runtime' '-DINPUT_icu=no' '-DINPUT_glib=no' '-DINPUT_doubleconversion=qt' '-DINPUT_pcre=qt' '-DINPUT_system_zlib=no' '-DINPUT_freetype=qt' '-DINPUT_harfbuzz=qt' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_system_sqlite=no' '-DINPUT_tiff=qt' '-DINPUT_webp=qt' '-G' 'Ninja' 'D:/Desktop/qt-w/qt-everywhere-src-6.5.1'
                              -- The CXX compiler identification is GNU 13.1.0
                              -- The C compiler identification is GNU 13.1.0
                              -- The ASM compiler identification is GNU
                              -- Found assembler: C:/Program Files/mingw64/bin/gcc.exe
                              -- Detecting CXX compiler ABI info
                              -- Detecting CXX compiler ABI info - done
                              -- Check for working CXX compiler: C:/Program Files/mingw64/bin/c++.exe - skipped
                              -- Detecting CXX compile features
                              -- Detecting CXX compile features - done
                              -- Detecting C compiler ABI info
                              -- Detecting C compiler ABI info - done
                              -- Check for working C compiler: C:/Program Files/mingw64/bin/gcc.exe - skipped
                              -- Detecting C compile features
                              -- Detecting C compile features - done
                              -- Checking dependencies of submodule 'qtbase'
                              -- Checking dependencies of submodule 'qtimageformats'
                              -- Checking dependencies of submodule 'qtlanguageserver'
                              -- Checking dependencies of submodule 'qtshadertools'
                              -- Checking dependencies of submodule 'qtsvg'
                              -- Checking dependencies of submodule 'qtdeclarative'
                              -- Checking dependencies of submodule 'qtquicktimeline'
                              -- Checking dependencies of submodule 'qtquick3d'
                              -- Checking dependencies of submodule 'qtmultimedia'
                              -- Checking dependencies of submodule 'qt3d'
                              -- Checking dependencies of submodule 'qt5compat'
                              -- Checking dependencies of submodule 'qtactiveqt'
                              -- Checking dependencies of submodule 'qtcharts'
                              -- Checking dependencies of submodule 'qtcoap'
                              -- Checking dependencies of submodule 'qtconnectivity'
                              -- Checking dependencies of submodule 'qtdatavis3d'
                              -- Checking dependencies of submodule 'qtwebsockets'
                              -- Checking dependencies of submodule 'qthttpserver'
                              -- Checking dependencies of submodule 'qttools'
                              -- Checking dependencies of submodule 'qtserialport'
                              -- Checking dependencies of submodule 'qtpositioning'
                              -- Checking dependencies of submodule 'qtwebchannel'
                              -- Checking dependencies of submodule 'qtwebengine'
                              -- Checking dependencies of submodule 'qtdoc'
                              -- Checking dependencies of submodule 'qtgrpc'
                              -- Checking dependencies of submodule 'qtlocation'
                              -- Checking dependencies of submodule 'qtlottie'
                              -- Checking dependencies of submodule 'qtmqtt'
                              -- Checking dependencies of submodule 'qtnetworkauth'
                              -- Checking dependencies of submodule 'qtopcua'
                              -- Checking dependencies of submodule 'qtquick3dphysics'
                              -- Checking dependencies of submodule 'qtquickeffectmaker'
                              -- Checking dependencies of submodule 'qtremoteobjects'
                              -- Checking dependencies of submodule 'qtscxml'
                              -- Checking dependencies of submodule 'qtsensors'
                              -- Checking dependencies of submodule 'qtserialbus'
                              -- Checking dependencies of submodule 'qtspeech'
                              -- Checking dependencies of submodule 'qttranslations'
                              -- Checking dependencies of submodule 'qtvirtualkeyboard'
                              -- Checking dependencies of submodule 'qtwayland'
                              -- Checking dependencies of submodule 'qtwebview'
                              -- Configuring submodule 'qtbase'
                                          -DCMAKE_C_FLAGS_DEBUG=-g
                                          -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
                                          -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                                          -DCMAKE_CXX_FLAGS_DEBUG=-g
                                          -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
                                          -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                                          -DCMAKE_OBJCOPY=C:/Program Files/mingw64/bin/objcopy.exe
                                          -DCMAKE_C_STANDARD=11
                                          -DCMAKE_C_STANDARD_REQUIRED=ON
                                          -DCMAKE_CXX_STANDARD=17
                                          -DCMAKE_CXX_STANDARD_REQUIRED=ON
                                          -DCMAKE_MODULE_PATH:STRING=D:/Desktop/qt-w/qt-everywhere-src-6.5.1/qtbase/cmake/platforms
                              -- Configuring submodule 'qtimageformats'
                              -- Configuring submodule 'qtlanguageserver'
                              -- Configuring submodule 'qtshadertools'
                              -- Configuring submodule 'qtsvg'
                              -- Configuring submodule 'qtdeclarative'
                              -- Configuring submodule 'qtquicktimeline'
                              -- Configuring submodule 'qtquick3d'
                              -- Configuring submodule 'qtmultimedia'
                              -- Configuring submodule 'qt3d'
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt3d/src/quick3d/imports/render/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt3d/src/quick3d/imports/scene3d/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt3d/src/quick3d/imports/extras/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt3d/src/quick3d/imports/scene2d/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt3d/src/quick3d/imports/input/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt3d/src/quick3d/imports/logic/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt3d/src/quick3d/imports/animation/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              -- Configuring submodule 'qt5compat'
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qt5compat/src/imports/graphicaleffects5/CMakeLists.txt:36 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              -- Configuring submodule 'qtactiveqt'
                              -- Configuring submodule 'qtcharts'
                              -- Configuring submodule 'qtcoap'
                              -- Configuring submodule 'qtconnectivity'
                              -- Configuring submodule 'qtdatavis3d'
                              -- Configuring submodule 'qtwebsockets'
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qtwebsockets/src/imports/qmlwebsockets/CMakeLists.txt:4 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              -- Configuring submodule 'qthttpserver'
                              -- Configuring submodule 'qttools'
                              -- Could NOT find Clang (missing: Clang_DIR)
                              -- Could NOT find Clang (missing: Clang_DIR)
                              -- Configuring submodule 'qtserialport'
                              -- Configuring submodule 'qtpositioning'
                              -- Configuring submodule 'qtwebchannel'
                              CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                Please port your module to use declarative type registration.
                              Call Stack (most recent call first):
                                qtwebchannel/src/imports/webchannel/CMakeLists.txt:10 (qt_internal_add_qml_module)
                              This warning is for project developers.  Use -Wno-dev to suppress it.
                              
                              -- Configuring submodule 'qtwebengine'
                              Traceback (most recent call last):
                                File "<string>", line 1, in <module>
                              ModuleNotFoundError: No module named 'html5lib'
                              [QtWebEngine] -- Windows 10 SDK version:
                              [QtWebEngine] -- Support check for QtWebEngine failed: Static build is not supported.
                              [QtWebEngine] -- Support check for QtPdf failed: node.js version 12 or later is required.
                              -- Configuring submodule 'qtdoc'
                              -- Configuring submodule 'qtgrpc'
                              -- Configuring submodule 'qtlocation'
                              -- Configuring submodule 'qtlottie'
                              -- Configuring submodule 'qtmqtt'
                              -- Configuring submodule 'qtnetworkauth'
                              -- Configuring submodule 'qtopcua'
                              -- Configuring submodule 'qtquick3dphysics'
                              -- Configuring submodule 'qtquickeffectmaker'
                              Nodes path: ./qml/QtQuickEffectMaker/defaultnodes
                              -- Configuring submodule 'qtremoteobjects'
                              -- Configuring submodule 'qtscxml'
                              -- Configuring submodule 'qtsensors'
                              -- Configuring submodule 'qtserialbus'
                              -- Configuring submodule 'qtspeech'
                              -- Configuring submodule 'qttranslations'
                              -- Configuring submodule 'qtvirtualkeyboard'
                              -- Configuring submodule 'qtwayland'
                              Skipping the build as the condition "LINUX OR MACOS OR QNX" is not met.
                              -- Configuring submodule 'qtwebview'
                              -- Could NOT find Qt6WebEngineCore (missing: Qt6WebEngineCore_DIR)
                              CMake Warning at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
                                Failed to find optional Qt component "WebEngineCore".
                              
                                Expected Config file at
                                "D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake"
                                does NOT exist
                              
                              Call Stack (most recent call first):
                                qtwebview/CMakeLists.txt:15 (find_package)
                              
                              -- Could NOT find Qt6WebEngineQuick (missing: Qt6WebEngineQuick_DIR)
                              
                              CMake Warning at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
                                Failed to find optional Qt component "WebEngineQuick".
                              
                                Expected Config file at
                                "D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6WebEngineQuick/Qt6WebEngineQuickConfig.cmake"
                                does NOT exist
                              
                              Call Stack (most recent call first):
                                qtwebview/CMakeLists.txt:15 (find_package)
                              
                              
                              
                              -- Configuration summary shown below. It has also been written to D:/Desktop/qt-w/6.5.1-build/config.summary
                              -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
                              
                              -- Configure summary:
                              
                              Building for: win32-g++ (x86_64, CPU features: cx16 mmx sse sse2 sse3)
                              Compiler: gcc 13.1.0
                              Build options:
                                Mode ................................... release
                                Optimize release build for size ........ no
                                Fully optimize release builds (-O3) .... no
                                Building shared libraries .............. no
                                Using C standard ....................... C11
                                Using C++ standard ..................... C++20
                                Relocatable ............................ no
                                Using precompiled headers .............. yes
                                Using Link Time Optimization (LTCG) .... no
                                Using Intel CET ........................ no
                                Target compiler supports:
                                  x86 Intrinsics ....................... Basic VAES AVX512VBMI2
                                Sanitizers:
                                  Addresses ............................ no
                                  Threads .............................. no
                                  Memory ............................... no
                                  Fuzzer (instrumentation only) ........ no
                                  Undefined ............................ no
                                Build parts ............................ libs tools
                                App store compliance ................... no
                              Qt modules and options:
                                Qt Concurrent .......................... yes
                                Qt D-Bus ............................... yes
                                Qt D-Bus directly linked to libdbus .... no
                                Qt Gui ................................. yes
                                Qt Network ............................. yes
                                Qt PrintSupport ........................ yes
                                Qt Sql ................................. yes
                                Qt Testlib ............................. yes
                                Qt Widgets ............................. yes
                                Qt Xml ................................. yes
                              Support enabled for:
                                Using pkg-config ....................... no
                                udev ................................... no
                                OpenSSL ................................ no
                                  Qt directly linked to OpenSSL ........ no
                                OpenSSL 1.1 ............................ no
                                OpenSSL 3.0 ............................ no
                                Using system zlib ...................... no
                                Zstandard support ...................... no
                                Thread support ......................... yes
                              Common build options:
                                Linker can resolve circular dependencies  yes
                              Qt Core:
                                backtrace .............................. no
                                DoubleConversion ....................... yes
                                  Using system DoubleConversion ........ no
                                GLib ................................... no
                                ICU .................................... no
                                Using system libb2 ..................... no
                                Built-in copy of the MIME database ..... yes
                                cpp/winrt base ......................... no
                                Tracing backend ........................ <none>
                                Logging backends:
                                  journald ............................. no
                                  syslog ............................... no
                                  slog2 ................................ no
                                PCRE2 .................................. yes
                                  Using system PCRE2 ................... no
                                Application permissions ................ no
                              Qt Sql:
                                SQL item models ........................ yes
                              Qt Network:
                                getifaddrs() ........................... no
                                IPv6 ifname ............................ no
                                libproxy ............................... no
                                Schannel ............................... yes
                                DTLS ................................... no
                                OCSP-stapling .......................... no
                                SCTP ................................... no
                                Use system proxies ..................... yes
                                GSSAPI ................................. no
                                Brotli Decompression Support ........... no
                                qIsEffectiveTLD() ...................... yes
                                  Built-in publicsuffix database ....... yes
                                  System publicsuffix database ......... no
                              Core tools:
                                Android deployment tool ................ yes
                                macOS deployment tool .................. no
                                Windows deployment tool ................ yes
                                qmake .................................. yes
                              Qt Gui:
                                Accessibility .......................... yes
                                FreeType ............................... yes
                                  Using system FreeType ................ no
                                HarfBuzz ............................... yes
                                  Using system HarfBuzz ................ no
                                Fontconfig ............................. no
                                Image formats:
                                  GIF .................................. yes
                                  ICO .................................. yes
                                  JPEG ................................. yes
                                    Using system libjpeg ............... no
                                  PNG .................................. yes
                                    Using system libpng ................ no
                                Text formats:
                                  HtmlParser ........................... yes
                                  CssParser ............................ yes
                                  OdfWriter ............................ yes
                                  MarkdownReader ....................... yes
                                    Using system libmd4c ............... no
                                  MarkdownWriter ....................... yes
                                EGL .................................... no
                                OpenVG ................................. no
                                OpenGL:
                                  Desktop OpenGL ....................... no
                                  Dynamic OpenGL ....................... yes
                                  OpenGL ES 2.0 ........................ no
                                  OpenGL ES 3.0 ........................ no
                                  OpenGL ES 3.1 ........................ no
                                  OpenGL ES 3.2 ........................ no
                                Vulkan ................................. no
                                Session Management ..................... yes
                              Features used by QPA backends:
                                evdev .................................. no
                                libinput ............................... no
                                HiRes wheel support in libinput ........ no
                                INTEGRITY HID .......................... no
                                mtdev .................................. no
                                tslib .................................. no
                                xkbcommon .............................. no
                                X11 specific:
                                  XLib ................................. no
                                  XCB Xlib ............................. no
                                  EGL on X11 ........................... no
                                  xkbcommon-x11 ........................ no
                                  xcb-sm ............................... no
                              QPA backends:
                                DirectFB ............................... no
                                EGLFS .................................. no
                                EGLFS details:
                                  EGLFS OpenWFD ........................ no
                                  EGLFS i.Mx6 .......................... no
                                  EGLFS i.Mx6 Wayland .................. no
                                  EGLFS RCAR ........................... no
                                  EGLFS EGLDevice ...................... no
                                  EGLFS GBM ............................ no
                                  EGLFS VSP2 ........................... no
                                  EGLFS Mali ........................... no
                                  EGLFS Raspberry Pi ................... no
                                  EGLFS X11 ............................ no
                                LinuxFB ................................ no
                                VNC .................................... no
                                VK_KHR_display ......................... no
                                QNX:
                                  lgmon ................................ no
                                  IMF .................................. no
                                XCB:
                                  Using system-provided xcb-xinput ..... no
                                  GL integrations:
                                    GLX Plugin ......................... no
                                      XCB GLX .......................... no
                                    EGL-X11 Plugin ..................... no
                                Windows:
                                  Direct 2D ............................ yes
                                  Direct 2D 1.1 ........................ yes
                                  DirectWrite .......................... yes
                                  DirectWrite 3 ........................ yes
                              Qt Widgets:
                                GTK+ ................................... no
                                Styles ................................. Fusion Windows WindowsVista
                              Qt Testlib:
                                Tester for item models ................. yes
                                Batch tests ............................ no
                              Qt PrintSupport:
                                CUPS ................................... no
                              Qt Sql Drivers:
                                DB2 (IBM) .............................. no
                                InterBase .............................. no
                                MySql .................................. no
                                OCI (Oracle) ........................... no
                                ODBC ................................... yes
                                PostgreSQL ............................. no
                                SQLite ................................. yes
                                  Using system provided SQLite ......... no
                              Further Image Formats:
                                JasPer ................................. no
                                MNG .................................... no
                                TIFF ................................... yes
                                  Using system libtiff ................. no
                                WEBP ................................... yes
                                  Using system libwebp ................. no
                              Qt QML:
                                QML network support .................... yes
                                QML debugging and profiling support .... yes
                                QML just-in-time compiler .............. yes
                                QML XML http request ................... yes
                                QML Locale ............................. yes
                              Qt QML Models:
                                QML list model ......................... yes
                                QML delegate model ..................... yes
                              Qt Quick:
                                AnimatedImage item ..................... yes
                                Canvas item ............................ yes
                                Support for Qt Quick Designer .......... yes
                                Flipable item .......................... yes
                                GridView item .......................... yes
                                ListView item .......................... yes
                                TableView item ......................... yes
                                TreeView item .......................... yes
                                Path support ........................... yes
                                PathView item .......................... yes
                                Positioner items ....................... yes
                                Repeater item .......................... yes
                                ShaderEffect item ...................... yes
                                Sprite item ............................ yes
                              Qt Quick Templates 2:
                                Hover support .......................... yes
                                Multi-touch support .................... yes
                                Calendar support ....................... yes
                              Qt Quick Controls 2:
                                Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows
                              QtQuick3D:
                                Assimp ................................. yes
                                System Assimp .......................... no
                              Qt Multimedia:
                                Spatial Audio .......................... yes
                                Spatial Audio (Quick3D) ................ yes
                                Low level Audio Backend:
                                  ALSA (experimental) .................. no
                                  PulseAudio ........................... no
                                  MMRenderer ........................... no
                                  CoreAudio ............................ no
                                  Windows Media SDK .................... yes
                                  Open SLES (Android) .................. no
                                  Web Assembly ......................... no
                                Plugin:
                                  GStreamer 1.0 ........................ no
                                  FFmpeg ............................... no
                                  MMRenderer ........................... no
                                  AVFoundation ......................... no
                                  Windows Media Foundation ............. no
                                Hardware acceleration and features:
                                  Video for Linux ...................... no
                                  VAAPI support ........................ no
                                  Linux DMA buffer support ............. no
                                  VideoToolbox ......................... no
                              Qt 3D:
                                Assimp ................................. yes
                                System Assimp .......................... no
                                Use SSE2 instructions .................. yes
                                Use AVX2 instructions .................. no
                                Aspects:
                                  Render aspect ........................ yes
                                  Input aspect ......................... yes
                                  Logic aspect ......................... yes
                                  Animation aspect ..................... yes
                                  Extras aspect ........................ yes
                              Qt 3D APIs:
                                Vulkan ................................. no
                              Qt 3D Renderers:
                                OpenGL Renderer ........................ yes
                                RHI Renderer ........................... yes
                              Qt3D Geometry Loaders:
                                Autodesk FBX ........................... no
                              Qt 5 Compatibility Libraries:
                                iconv .................................. no
                              Qt Charts Types:
                                Area Chart ............................. yes
                                Line Chart ............................. yes
                                Spline Chart ........................... yes
                                Scatter Chart .......................... yes
                                Bar Chart .............................. yes
                                Pie Chart .............................. yes
                                Boxplot Chart .......................... yes
                                Candlestick Chart ...................... yes
                              Qt Axis Types:
                                DateTime Axis .......................... yes
                              Qt Bluetooth:
                                BlueZ .................................. no
                                BlueZ Low Energy ....................... no
                                Linux Crypto API ....................... no
                                WinRT Bluetooth API .................... no
                              Qt Tools:
                                Qt Assistant ........................... yes
                                QDoc ................................... no
                                Clang-based lupdate parser ............. no
                                Qt Designer ............................ yes
                                Qt Distance Field Generator ............ yes
                                Qt Linguist ............................ yes
                                pixeltool .............................. yes
                                qdbus .................................. yes
                                Qt Attributions Scanner ................ yes
                                qtdiag ................................. yes
                                qtplugininfo ........................... yes
                              Serial Port:
                                ntddmodm ............................... no
                              WebEngine Repository Build Options:
                                Build Ninja ............................ no
                                Build Gn ............................... yes
                                Jumbo Build ............................ yes
                                Developer build ........................ no
                                Build QtWebEngine Modules:
                                  Build QtWebEngineCore ................ no
                                  Build QtWebEngineWidgets ............. no
                                  Build QtWebEngineQuick ............... no
                                Build QtPdf Modules:
                                  Build QtPdfWidgets ................... no
                                  Build QtPdfQuick ..................... no
                                Qt 3rdparty libs:
                                  qtfreetype ........................... yes
                                  qtpng ................................ yes
                                  qtpng ................................ yes
                                  qtjpeg ............................... yes
                                  qtzlib ............................... yes
                                Qt Protobuf tools:
                                  Qt Protobuf generator ................ no
                                Qt GRPC:
                                  gRPC support ......................... yes
                                  Native gRPC support .................. no
                                Qt GRPC tools:
                                  Qt GRPC generator .................... no
                                Qt Opcua:
                                  Open62541 ............................ yes
                                  Unified Automation C++ SDK ........... no
                                  Support for namespace 0 NodeId names . yes
                                  Namespace 0 NodeIds generator ........ no
                                  Open62541 security support ........... no
                                  Support for global discovery server .. no
                                Qt Remote Objects:
                                  High Availability Manager (ham) ...... no
                                Qt Scxml:
                                  ECMAScript data model for QtScxml .... yes
                                Qt Sensors:
                                  WinRT sensors backend ................ no
                                Qt SerialBus:
                                  Socket CAN ........................... no
                                  Socket CAN FD ........................ no
                                  SerialPort Support ................... yes
                                Qt TextToSpeech:
                                  Flite ................................ no
                                  Flite with ALSA ...................... no
                                  Speech Dispatcher .................... no
                                Qt Virtualkeyboard:
                                  Desktop integration .................. yes
                                  Built-in layouts ..................... yes
                                  Key navigation ....................... no
                                  Retro style as default ............... no
                                  Sensitive Debug ...................... no
                                  Cerence .............................. no
                                    Static Linking ..................... no
                                    Handwriting ........................ no
                                      Alphabetic ....................... no
                                      CJK .............................. no
                                    XT9 ................................ no
                                      XT9 Debug ........................ no
                                      XT9 9-key layouts ................ no
                                    Bundle resources ................... no
                                      Handwriting .....................
                              . no
                                      XT9 .............................. no
                                  Hunspell ............................. no
                                    Using Hunspell copy from 3rdparty/ . no
                                  OpenWnn .............................. yes
                                  MyScript ............................. no
                                  Language support enabled for:
                                    Arabic ............................. yes
                                    Bulgarian .......................... yes
                                    Czech .............................. yes
                                    Danish ............................. yes
                                    German ............................. yes
                                    Greek .............................. yes
                                    English GB ......................... yes
                                    English US ......................... yes
                                    Spanish ............................ yes
                                    Spanish Mexico ..................... yes
                                    Estonian ........................... yes
                                    Farsi .............................. yes
                                    Finnish ............................ yes
                                    French Canada ...................... yes
                                    French France ...................... yes
                                    Hebrew ............................. yes
                                Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library.
                              Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
                              
                              WARNING: Basic cpp/winrt support missing. Some features might not be available.
                              WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
                              Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
                              On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
                              On macOS, you can use Homebrew's llvm package.
                              You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
                              WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
                              You will need to set the FEATURE_clangcpp CMake varia    Hindi .............................. yes
                                    Croatian ........................... yes
                                    Hungarian .......................... yes
                                    Indonesian ......................... yes
                                    Italian ............................ yes
                                    Japanese ........................... yes
                                    Korean ............................. yes
                                    Malay .............................. yes
                                    Norwegian .......................... yes
                                    Dutch .............................. yes
                                    Polish ............................. yes
                                    Portuguese Brazil .................. yes
                                    Portuguese Portugal ................ yes
                                    Romanian ........................... yes
                                    Russian ............................ yes
                                    Slovak ............................. yes
                                    Slovenian .......................... yes
                                    Albanian ........................... yes
                                    Serbian ............................ yes
                                    Swedish ............................ yes
                                    Thai ............................... yes
                                    Turkish .........................ble to ON to re-evaluate this check.
                              WARNING: QtWebEngine won't be built. Static build is not supported.
                              WARNING: QtPdf won't be built. node.js version 12 or later is required.
                              WARNING: No perl found, compiling opus without some optimizations.
                              
                              ... yes
                                    Ukrainian .......................... yes
                                    Vietnamese ......................... yes
                                    Simplified Chinese ................. yes
                                    Traditional Chinese ................ yes
                                    HongKong Chinese ................... no
                                  Traditional chinese input methods:
                                    Zhuyin ............................. yes
                                    Cangjie ............................ yes
                              
                              --
                              
                              Qt is now configured for building. Just run 'cmake --build . --parallel'
                              
                              Once everything is built, you must run 'cmake --install .'
                              Qt will be installed into 'D:/Desktop/qt-w/6.5.1'
                              
                              To configure and build other Qt modules, you can use the following convenience script:
                                      D:/Desktop/qt-w/6.5.1/bin/qt-configure-module.bat
                              
                              If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
                              Alternatively, you can add the --fresh flag to your CMake flags.
                              
                              -- Configuring done (221.5s)
                              -- Generating done (13.9s)
                              -- Build files have been written to: D:/Desktop/qt-w/6.5.1-build
                              
                              SteveStageS 1 Reply Last reply
                              0
                              • SteveStageS SteveStage

                                It is MSYS2.
                                I just tried it from PowerShell and I finally got something other than with Git Bash.

                                PS D:\Desktop\qt-w\6.5.1-build> ../qt-everywhere-src-6.5.1/configure.bat -prefix "../6.5.1" -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                                + cd qtbase
                                + D:\Desktop\qt-w\qt-everywhere-src-6.5.1\qtbase\configure.bat -top-level -prefix ../6.5.1 -static -static-runtime -no-openssl -schannel -c++std c++20 -dbus-runtime -no-icu -no-glib -qt-doubleconversion -qt-pcre -qt-zlib -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -qt-sqlite -qt-tiff -qt-webp -confirm-license -release -nomake examples -nomake tests
                                -- Windows 10 SDK version:
                                opt: doubleconversion val: qt
                                Overriding option 'doubleconversion' with 'qt' (was: 'undefined')
                                opt: pcre val: qt
                                opt: zlib val: qt
                                opt: freetype val: qt
                                Overriding option 'freetype' with 'qt' (was: 'undefined')
                                opt: harfbuzz val: qt
                                Overriding option 'harfbuzz' with 'qt' (was: 'undefined')
                                opt: libpng val: qt
                                Overriding option 'libpng' with 'qt' (was: 'undefined')
                                opt: libjpeg val: qt
                                Overriding option 'libjpeg' with 'qt' (was: 'undefined')
                                opt: sqlite val: qt
                                opt: tiff val: qt
                                Overriding option 'tiff' with 'qt' (was: 'undefined')
                                opt: webp val: qt
                                Overriding option 'webp' with 'qt' (was: 'undefined')
                                'C:/Program Files/cmake/bin/cmake.exe' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=../6.5.1' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_static_runtime=yes' '-DINPUT_openssl=no' '-DINPUT_schannel=yes' '-DINPUT_cxx14=yes' '-DINPUT_cxx17=yes' '-DINPUT_cxx20=yes' '-DINPUT_cxx2b=no' '-DINPUT_dbus=runtime' '-DINPUT_icu=no' '-DINPUT_glib=no' '-DINPUT_doubleconversion=qt' '-DINPUT_pcre=qt' '-DINPUT_system_zlib=no' '-DINPUT_freetype=qt' '-DINPUT_harfbuzz=qt' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_system_sqlite=no' '-DINPUT_tiff=qt' '-DINPUT_webp=qt' '-G' 'Ninja' 'D:/Desktop/qt-w/qt-everywhere-src-6.5.1'
                                -- The CXX compiler identification is GNU 13.1.0
                                -- The C compiler identification is GNU 13.1.0
                                -- The ASM compiler identification is GNU
                                -- Found assembler: C:/Program Files/mingw64/bin/gcc.exe
                                -- Detecting CXX compiler ABI info
                                -- Detecting CXX compiler ABI info - done
                                -- Check for working CXX compiler: C:/Program Files/mingw64/bin/c++.exe - skipped
                                -- Detecting CXX compile features
                                -- Detecting CXX compile features - done
                                -- Detecting C compiler ABI info
                                -- Detecting C compiler ABI info - done
                                -- Check for working C compiler: C:/Program Files/mingw64/bin/gcc.exe - skipped
                                -- Detecting C compile features
                                -- Detecting C compile features - done
                                -- Checking dependencies of submodule 'qtbase'
                                -- Checking dependencies of submodule 'qtimageformats'
                                -- Checking dependencies of submodule 'qtlanguageserver'
                                -- Checking dependencies of submodule 'qtshadertools'
                                -- Checking dependencies of submodule 'qtsvg'
                                -- Checking dependencies of submodule 'qtdeclarative'
                                -- Checking dependencies of submodule 'qtquicktimeline'
                                -- Checking dependencies of submodule 'qtquick3d'
                                -- Checking dependencies of submodule 'qtmultimedia'
                                -- Checking dependencies of submodule 'qt3d'
                                -- Checking dependencies of submodule 'qt5compat'
                                -- Checking dependencies of submodule 'qtactiveqt'
                                -- Checking dependencies of submodule 'qtcharts'
                                -- Checking dependencies of submodule 'qtcoap'
                                -- Checking dependencies of submodule 'qtconnectivity'
                                -- Checking dependencies of submodule 'qtdatavis3d'
                                -- Checking dependencies of submodule 'qtwebsockets'
                                -- Checking dependencies of submodule 'qthttpserver'
                                -- Checking dependencies of submodule 'qttools'
                                -- Checking dependencies of submodule 'qtserialport'
                                -- Checking dependencies of submodule 'qtpositioning'
                                -- Checking dependencies of submodule 'qtwebchannel'
                                -- Checking dependencies of submodule 'qtwebengine'
                                -- Checking dependencies of submodule 'qtdoc'
                                -- Checking dependencies of submodule 'qtgrpc'
                                -- Checking dependencies of submodule 'qtlocation'
                                -- Checking dependencies of submodule 'qtlottie'
                                -- Checking dependencies of submodule 'qtmqtt'
                                -- Checking dependencies of submodule 'qtnetworkauth'
                                -- Checking dependencies of submodule 'qtopcua'
                                -- Checking dependencies of submodule 'qtquick3dphysics'
                                -- Checking dependencies of submodule 'qtquickeffectmaker'
                                -- Checking dependencies of submodule 'qtremoteobjects'
                                -- Checking dependencies of submodule 'qtscxml'
                                -- Checking dependencies of submodule 'qtsensors'
                                -- Checking dependencies of submodule 'qtserialbus'
                                -- Checking dependencies of submodule 'qtspeech'
                                -- Checking dependencies of submodule 'qttranslations'
                                -- Checking dependencies of submodule 'qtvirtualkeyboard'
                                -- Checking dependencies of submodule 'qtwayland'
                                -- Checking dependencies of submodule 'qtwebview'
                                -- Configuring submodule 'qtbase'
                                            -DCMAKE_C_FLAGS_DEBUG=-g
                                            -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
                                            -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                                            -DCMAKE_CXX_FLAGS_DEBUG=-g
                                            -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
                                            -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
                                            -DCMAKE_OBJCOPY=C:/Program Files/mingw64/bin/objcopy.exe
                                            -DCMAKE_C_STANDARD=11
                                            -DCMAKE_C_STANDARD_REQUIRED=ON
                                            -DCMAKE_CXX_STANDARD=17
                                            -DCMAKE_CXX_STANDARD_REQUIRED=ON
                                            -DCMAKE_MODULE_PATH:STRING=D:/Desktop/qt-w/qt-everywhere-src-6.5.1/qtbase/cmake/platforms
                                -- Configuring submodule 'qtimageformats'
                                -- Configuring submodule 'qtlanguageserver'
                                -- Configuring submodule 'qtshadertools'
                                -- Configuring submodule 'qtsvg'
                                -- Configuring submodule 'qtdeclarative'
                                -- Configuring submodule 'qtquicktimeline'
                                -- Configuring submodule 'qtquick3d'
                                -- Configuring submodule 'qtmultimedia'
                                -- Configuring submodule 'qt3d'
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt3d/src/quick3d/imports/render/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt3d/src/quick3d/imports/scene3d/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt3d/src/quick3d/imports/extras/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt3d/src/quick3d/imports/scene2d/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt3d/src/quick3d/imports/input/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt3d/src/quick3d/imports/logic/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt3d/src/quick3d/imports/animation/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                -- Configuring submodule 'qt5compat'
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qt5compat/src/imports/graphicaleffects5/CMakeLists.txt:36 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                -- Configuring submodule 'qtactiveqt'
                                -- Configuring submodule 'qtcharts'
                                -- Configuring submodule 'qtcoap'
                                -- Configuring submodule 'qtconnectivity'
                                -- Configuring submodule 'qtdatavis3d'
                                -- Configuring submodule 'qtwebsockets'
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qtwebsockets/src/imports/qmlwebsockets/CMakeLists.txt:4 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                -- Configuring submodule 'qthttpserver'
                                -- Configuring submodule 'qttools'
                                -- Could NOT find Clang (missing: Clang_DIR)
                                -- Could NOT find Clang (missing: Clang_DIR)
                                -- Configuring submodule 'qtserialport'
                                -- Configuring submodule 'qtpositioning'
                                -- Configuring submodule 'qtwebchannel'
                                CMake Warning (dev) at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:404 (message):
                                  INSTALL_SOURCE_QMLTYPES option is deprecated and should not be used.
                                  Please port your module to use declarative type registration.
                                Call Stack (most recent call first):
                                  qtwebchannel/src/imports/webchannel/CMakeLists.txt:10 (qt_internal_add_qml_module)
                                This warning is for project developers.  Use -Wno-dev to suppress it.
                                
                                -- Configuring submodule 'qtwebengine'
                                Traceback (most recent call last):
                                  File "<string>", line 1, in <module>
                                ModuleNotFoundError: No module named 'html5lib'
                                [QtWebEngine] -- Windows 10 SDK version:
                                [QtWebEngine] -- Support check for QtWebEngine failed: Static build is not supported.
                                [QtWebEngine] -- Support check for QtPdf failed: node.js version 12 or later is required.
                                -- Configuring submodule 'qtdoc'
                                -- Configuring submodule 'qtgrpc'
                                -- Configuring submodule 'qtlocation'
                                -- Configuring submodule 'qtlottie'
                                -- Configuring submodule 'qtmqtt'
                                -- Configuring submodule 'qtnetworkauth'
                                -- Configuring submodule 'qtopcua'
                                -- Configuring submodule 'qtquick3dphysics'
                                -- Configuring submodule 'qtquickeffectmaker'
                                Nodes path: ./qml/QtQuickEffectMaker/defaultnodes
                                -- Configuring submodule 'qtremoteobjects'
                                -- Configuring submodule 'qtscxml'
                                -- Configuring submodule 'qtsensors'
                                -- Configuring submodule 'qtserialbus'
                                -- Configuring submodule 'qtspeech'
                                -- Configuring submodule 'qttranslations'
                                -- Configuring submodule 'qtvirtualkeyboard'
                                -- Configuring submodule 'qtwayland'
                                Skipping the build as the condition "LINUX OR MACOS OR QNX" is not met.
                                -- Configuring submodule 'qtwebview'
                                -- Could NOT find Qt6WebEngineCore (missing: Qt6WebEngineCore_DIR)
                                CMake Warning at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
                                  Failed to find optional Qt component "WebEngineCore".
                                
                                  Expected Config file at
                                  "D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake"
                                  does NOT exist
                                
                                Call Stack (most recent call first):
                                  qtwebview/CMakeLists.txt:15 (find_package)
                                
                                -- Could NOT find Qt6WebEngineQuick (missing: Qt6WebEngineQuick_DIR)
                                
                                CMake Warning at D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:214 (message):
                                  Failed to find optional Qt component "WebEngineQuick".
                                
                                  Expected Config file at
                                  "D:/Desktop/qt-w/6.5.1-build/qtbase/lib/cmake/Qt6WebEngineQuick/Qt6WebEngineQuickConfig.cmake"
                                  does NOT exist
                                
                                Call Stack (most recent call first):
                                  qtwebview/CMakeLists.txt:15 (find_package)
                                
                                
                                
                                -- Configuration summary shown below. It has also been written to D:/Desktop/qt-w/6.5.1-build/config.summary
                                -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
                                
                                -- Configure summary:
                                
                                Building for: win32-g++ (x86_64, CPU features: cx16 mmx sse sse2 sse3)
                                Compiler: gcc 13.1.0
                                Build options:
                                  Mode ................................... release
                                  Optimize release build for size ........ no
                                  Fully optimize release builds (-O3) .... no
                                  Building shared libraries .............. no
                                  Using C standard ....................... C11
                                  Using C++ standard ..................... C++20
                                  Relocatable ............................ no
                                  Using precompiled headers .............. yes
                                  Using Link Time Optimization (LTCG) .... no
                                  Using Intel CET ........................ no
                                  Target compiler supports:
                                    x86 Intrinsics ....................... Basic VAES AVX512VBMI2
                                  Sanitizers:
                                    Addresses ............................ no
                                    Threads .............................. no
                                    Memory ............................... no
                                    Fuzzer (instrumentation only) ........ no
                                    Undefined ............................ no
                                  Build parts ............................ libs tools
                                  App store compliance ................... no
                                Qt modules and options:
                                  Qt Concurrent .......................... yes
                                  Qt D-Bus ............................... yes
                                  Qt D-Bus directly linked to libdbus .... no
                                  Qt Gui ................................. yes
                                  Qt Network ............................. yes
                                  Qt PrintSupport ........................ yes
                                  Qt Sql ................................. yes
                                  Qt Testlib ............................. yes
                                  Qt Widgets ............................. yes
                                  Qt Xml ................................. yes
                                Support enabled for:
                                  Using pkg-config ....................... no
                                  udev ................................... no
                                  OpenSSL ................................ no
                                    Qt directly linked to OpenSSL ........ no
                                  OpenSSL 1.1 ............................ no
                                  OpenSSL 3.0 ............................ no
                                  Using system zlib ...................... no
                                  Zstandard support ...................... no
                                  Thread support ......................... yes
                                Common build options:
                                  Linker can resolve circular dependencies  yes
                                Qt Core:
                                  backtrace .............................. no
                                  DoubleConversion ....................... yes
                                    Using system DoubleConversion ........ no
                                  GLib ................................... no
                                  ICU .................................... no
                                  Using system libb2 ..................... no
                                  Built-in copy of the MIME database ..... yes
                                  cpp/winrt base ......................... no
                                  Tracing backend ........................ <none>
                                  Logging backends:
                                    journald ............................. no
                                    syslog ............................... no
                                    slog2 ................................ no
                                  PCRE2 .................................. yes
                                    Using system PCRE2 ................... no
                                  Application permissions ................ no
                                Qt Sql:
                                  SQL item models ........................ yes
                                Qt Network:
                                  getifaddrs() ........................... no
                                  IPv6 ifname ............................ no
                                  libproxy ............................... no
                                  Schannel ............................... yes
                                  DTLS ................................... no
                                  OCSP-stapling .......................... no
                                  SCTP ................................... no
                                  Use system proxies ..................... yes
                                  GSSAPI ................................. no
                                  Brotli Decompression Support ........... no
                                  qIsEffectiveTLD() ...................... yes
                                    Built-in publicsuffix database ....... yes
                                    System publicsuffix database ......... no
                                Core tools:
                                  Android deployment tool ................ yes
                                  macOS deployment tool .................. no
                                  Windows deployment tool ................ yes
                                  qmake .................................. yes
                                Qt Gui:
                                  Accessibility .......................... yes
                                  FreeType ............................... yes
                                    Using system FreeType ................ no
                                  HarfBuzz ............................... yes
                                    Using system HarfBuzz ................ no
                                  Fontconfig ............................. no
                                  Image formats:
                                    GIF .................................. yes
                                    ICO .................................. yes
                                    JPEG ................................. yes
                                      Using system libjpeg ............... no
                                    PNG .................................. yes
                                      Using system libpng ................ no
                                  Text formats:
                                    HtmlParser ........................... yes
                                    CssParser ............................ yes
                                    OdfWriter ............................ yes
                                    MarkdownReader ....................... yes
                                      Using system libmd4c ............... no
                                    MarkdownWriter ....................... yes
                                  EGL .................................... no
                                  OpenVG ................................. no
                                  OpenGL:
                                    Desktop OpenGL ....................... no
                                    Dynamic OpenGL ....................... yes
                                    OpenGL ES 2.0 ........................ no
                                    OpenGL ES 3.0 ........................ no
                                    OpenGL ES 3.1 ........................ no
                                    OpenGL ES 3.2 ........................ no
                                  Vulkan ................................. no
                                  Session Management ..................... yes
                                Features used by QPA backends:
                                  evdev .................................. no
                                  libinput ............................... no
                                  HiRes wheel support in libinput ........ no
                                  INTEGRITY HID .......................... no
                                  mtdev .................................. no
                                  tslib .................................. no
                                  xkbcommon .............................. no
                                  X11 specific:
                                    XLib ................................. no
                                    XCB Xlib ............................. no
                                    EGL on X11 ........................... no
                                    xkbcommon-x11 ........................ no
                                    xcb-sm ............................... no
                                QPA backends:
                                  DirectFB ............................... no
                                  EGLFS .................................. no
                                  EGLFS details:
                                    EGLFS OpenWFD ........................ no
                                    EGLFS i.Mx6 .......................... no
                                    EGLFS i.Mx6 Wayland .................. no
                                    EGLFS RCAR ........................... no
                                    EGLFS EGLDevice ...................... no
                                    EGLFS GBM ............................ no
                                    EGLFS VSP2 ........................... no
                                    EGLFS Mali ........................... no
                                    EGLFS Raspberry Pi ................... no
                                    EGLFS X11 ............................ no
                                  LinuxFB ................................ no
                                  VNC .................................... no
                                  VK_KHR_display ......................... no
                                  QNX:
                                    lgmon ................................ no
                                    IMF .................................. no
                                  XCB:
                                    Using system-provided xcb-xinput ..... no
                                    GL integrations:
                                      GLX Plugin ......................... no
                                        XCB GLX .......................... no
                                      EGL-X11 Plugin ..................... no
                                  Windows:
                                    Direct 2D ............................ yes
                                    Direct 2D 1.1 ........................ yes
                                    DirectWrite .......................... yes
                                    DirectWrite 3 ........................ yes
                                Qt Widgets:
                                  GTK+ ................................... no
                                  Styles ................................. Fusion Windows WindowsVista
                                Qt Testlib:
                                  Tester for item models ................. yes
                                  Batch tests ............................ no
                                Qt PrintSupport:
                                  CUPS ................................... no
                                Qt Sql Drivers:
                                  DB2 (IBM) .............................. no
                                  InterBase .............................. no
                                  MySql .................................. no
                                  OCI (Oracle) ........................... no
                                  ODBC ................................... yes
                                  PostgreSQL ............................. no
                                  SQLite ................................. yes
                                    Using system provided SQLite ......... no
                                Further Image Formats:
                                  JasPer ................................. no
                                  MNG .................................... no
                                  TIFF ................................... yes
                                    Using system libtiff ................. no
                                  WEBP ................................... yes
                                    Using system libwebp ................. no
                                Qt QML:
                                  QML network support .................... yes
                                  QML debugging and profiling support .... yes
                                  QML just-in-time compiler .............. yes
                                  QML XML http request ................... yes
                                  QML Locale ............................. yes
                                Qt QML Models:
                                  QML list model ......................... yes
                                  QML delegate model ..................... yes
                                Qt Quick:
                                  AnimatedImage item ..................... yes
                                  Canvas item ............................ yes
                                  Support for Qt Quick Designer .......... yes
                                  Flipable item .......................... yes
                                  GridView item .......................... yes
                                  ListView item .......................... yes
                                  TableView item ......................... yes
                                  TreeView item .......................... yes
                                  Path support ........................... yes
                                  PathView item .......................... yes
                                  Positioner items ....................... yes
                                  Repeater item .......................... yes
                                  ShaderEffect item ...................... yes
                                  Sprite item ............................ yes
                                Qt Quick Templates 2:
                                  Hover support .......................... yes
                                  Multi-touch support .................... yes
                                  Calendar support ....................... yes
                                Qt Quick Controls 2:
                                  Styles ................................. Basic Fusion Imagine iOS Material Universal macOS Windows
                                QtQuick3D:
                                  Assimp ................................. yes
                                  System Assimp .......................... no
                                Qt Multimedia:
                                  Spatial Audio .......................... yes
                                  Spatial Audio (Quick3D) ................ yes
                                  Low level Audio Backend:
                                    ALSA (experimental) .................. no
                                    PulseAudio ........................... no
                                    MMRenderer ........................... no
                                    CoreAudio ............................ no
                                    Windows Media SDK .................... yes
                                    Open SLES (Android) .................. no
                                    Web Assembly ......................... no
                                  Plugin:
                                    GStreamer 1.0 ........................ no
                                    FFmpeg ............................... no
                                    MMRenderer ........................... no
                                    AVFoundation ......................... no
                                    Windows Media Foundation ............. no
                                  Hardware acceleration and features:
                                    Video for Linux ...................... no
                                    VAAPI support ........................ no
                                    Linux DMA buffer support ............. no
                                    VideoToolbox ......................... no
                                Qt 3D:
                                  Assimp ................................. yes
                                  System Assimp .......................... no
                                  Use SSE2 instructions .................. yes
                                  Use AVX2 instructions .................. no
                                  Aspects:
                                    Render aspect ........................ yes
                                    Input aspect ......................... yes
                                    Logic aspect ......................... yes
                                    Animation aspect ..................... yes
                                    Extras aspect ........................ yes
                                Qt 3D APIs:
                                  Vulkan ................................. no
                                Qt 3D Renderers:
                                  OpenGL Renderer ........................ yes
                                  RHI Renderer ........................... yes
                                Qt3D Geometry Loaders:
                                  Autodesk FBX ........................... no
                                Qt 5 Compatibility Libraries:
                                  iconv .................................. no
                                Qt Charts Types:
                                  Area Chart ............................. yes
                                  Line Chart ............................. yes
                                  Spline Chart ........................... yes
                                  Scatter Chart .......................... yes
                                  Bar Chart .............................. yes
                                  Pie Chart .............................. yes
                                  Boxplot Chart .......................... yes
                                  Candlestick Chart ...................... yes
                                Qt Axis Types:
                                  DateTime Axis .......................... yes
                                Qt Bluetooth:
                                  BlueZ .................................. no
                                  BlueZ Low Energy ....................... no
                                  Linux Crypto API ....................... no
                                  WinRT Bluetooth API .................... no
                                Qt Tools:
                                  Qt Assistant ........................... yes
                                  QDoc ................................... no
                                  Clang-based lupdate parser ............. no
                                  Qt Designer ............................ yes
                                  Qt Distance Field Generator ............ yes
                                  Qt Linguist ............................ yes
                                  pixeltool .............................. yes
                                  qdbus .................................. yes
                                  Qt Attributions Scanner ................ yes
                                  qtdiag ................................. yes
                                  qtplugininfo ........................... yes
                                Serial Port:
                                  ntddmodm ............................... no
                                WebEngine Repository Build Options:
                                  Build Ninja ............................ no
                                  Build Gn ............................... yes
                                  Jumbo Build ............................ yes
                                  Developer build ........................ no
                                  Build QtWebEngine Modules:
                                    Build QtWebEngineCore ................ no
                                    Build QtWebEngineWidgets ............. no
                                    Build QtWebEngineQuick ............... no
                                  Build QtPdf Modules:
                                    Build QtPdfWidgets ................... no
                                    Build QtPdfQuick ..................... no
                                  Qt 3rdparty libs:
                                    qtfreetype ........................... yes
                                    qtpng ................................ yes
                                    qtpng ................................ yes
                                    qtjpeg ............................... yes
                                    qtzlib ............................... yes
                                  Qt Protobuf tools:
                                    Qt Protobuf generator ................ no
                                  Qt GRPC:
                                    gRPC support ......................... yes
                                    Native gRPC support .................. no
                                  Qt GRPC tools:
                                    Qt GRPC generator .................... no
                                  Qt Opcua:
                                    Open62541 ............................ yes
                                    Unified Automation C++ SDK ........... no
                                    Support for namespace 0 NodeId names . yes
                                    Namespace 0 NodeIds generator ........ no
                                    Open62541 security support ........... no
                                    Support for global discovery server .. no
                                  Qt Remote Objects:
                                    High Availability Manager (ham) ...... no
                                  Qt Scxml:
                                    ECMAScript data model for QtScxml .... yes
                                  Qt Sensors:
                                    WinRT sensors backend ................ no
                                  Qt SerialBus:
                                    Socket CAN ........................... no
                                    Socket CAN FD ........................ no
                                    SerialPort Support ................... yes
                                  Qt TextToSpeech:
                                    Flite ................................ no
                                    Flite with ALSA ...................... no
                                    Speech Dispatcher .................... no
                                  Qt Virtualkeyboard:
                                    Desktop integration .................. yes
                                    Built-in layouts ..................... yes
                                    Key navigation ....................... no
                                    Retro style as default ............... no
                                    Sensitive Debug ...................... no
                                    Cerence .............................. no
                                      Static Linking ..................... no
                                      Handwriting ........................ no
                                        Alphabetic ....................... no
                                        CJK .............................. no
                                      XT9 ................................ no
                                        XT9 Debug ........................ no
                                        XT9 9-key layouts ................ no
                                      Bundle resources ................... no
                                        Handwriting .....................
                                . no
                                        XT9 .............................. no
                                    Hunspell ............................. no
                                      Using Hunspell copy from 3rdparty/ . no
                                    OpenWnn .............................. yes
                                    MyScript ............................. no
                                    Language support enabled for:
                                      Arabic ............................. yes
                                      Bulgarian .......................... yes
                                      Czech .............................. yes
                                      Danish ............................. yes
                                      German ............................. yes
                                      Greek .............................. yes
                                      English GB ......................... yes
                                      English US ......................... yes
                                      Spanish ............................ yes
                                      Spanish Mexico ..................... yes
                                      Estonian ........................... yes
                                      Farsi .............................. yes
                                      Finnish ............................ yes
                                      French Canada ...................... yes
                                      French France ...................... yes
                                      Hebrew ............................. yes
                                  Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library.
                                Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
                                
                                WARNING: Basic cpp/winrt support missing. Some features might not be available.
                                WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
                                Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
                                On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
                                On macOS, you can use Homebrew's llvm package.
                                You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
                                WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
                                You will need to set the FEATURE_clangcpp CMake varia    Hindi .............................. yes
                                      Croatian ........................... yes
                                      Hungarian .......................... yes
                                      Indonesian ......................... yes
                                      Italian ............................ yes
                                      Japanese ........................... yes
                                      Korean ............................. yes
                                      Malay .............................. yes
                                      Norwegian .......................... yes
                                      Dutch .............................. yes
                                      Polish ............................. yes
                                      Portuguese Brazil .................. yes
                                      Portuguese Portugal ................ yes
                                      Romanian ........................... yes
                                      Russian ............................ yes
                                      Slovak ............................. yes
                                      Slovenian .......................... yes
                                      Albanian ........................... yes
                                      Serbian ............................ yes
                                      Swedish ............................ yes
                                      Thai ............................... yes
                                      Turkish .........................ble to ON to re-evaluate this check.
                                WARNING: QtWebEngine won't be built. Static build is not supported.
                                WARNING: QtPdf won't be built. node.js version 12 or later is required.
                                WARNING: No perl found, compiling opus without some optimizations.
                                
                                ... yes
                                      Ukrainian .......................... yes
                                      Vietnamese ......................... yes
                                      Simplified Chinese ................. yes
                                      Traditional Chinese ................ yes
                                      HongKong Chinese ................... no
                                    Traditional chinese input methods:
                                      Zhuyin ............................. yes
                                      Cangjie ............................ yes
                                
                                --
                                
                                Qt is now configured for building. Just run 'cmake --build . --parallel'
                                
                                Once everything is built, you must run 'cmake --install .'
                                Qt will be installed into 'D:/Desktop/qt-w/6.5.1'
                                
                                To configure and build other Qt modules, you can use the following convenience script:
                                        D:/Desktop/qt-w/6.5.1/bin/qt-configure-module.bat
                                
                                If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
                                Alternatively, you can add the --fresh flag to your CMake flags.
                                
                                -- Configuring done (221.5s)
                                -- Generating done (13.9s)
                                -- Build files have been written to: D:/Desktop/qt-w/6.5.1-build
                                
                                SteveStageS Offline
                                SteveStageS Offline
                                SteveStage
                                wrote on last edited by
                                #19

                                I got another error...

                                mzimmersM 1 Reply Last reply
                                0
                                • SteveStageS SteveStage

                                  I got another error...

                                  mzimmersM Offline
                                  mzimmersM Offline
                                  mzimmers
                                  wrote on last edited by
                                  #20

                                  @SteveStage I've been struggling on and off with this for years. I currently have a couple open bug reports on this topic, so TQC at least is aware of the problem(s). I don't have an answer for you, but a couple things:

                                  • don't use git bash for your build. A command terminal is best, but PowerShell should work, too.
                                  • when you initialize the repository (prior to your configure command), disable qtwebengine:
                                  perl init-repository --module-subset=default,-qtwebengine
                                  

                                  This will speed up your builds, plus you can't build QtWebEngine statically (probably because it would result in enormous executables).

                                  • this is the command that most recently worked for me, though it doesn't now:
                                  configure.bat -opensource -confirm-license -static -static-runtime -release -platform win32-g++ -opengl desktop -skip qtwebengine -nomake examples -nomake tests -Wno-dev -prefix c:\qt\6.5.1_static
                                  

                                  Good luck...

                                  1 Reply Last reply
                                  1

                                  • Login

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