Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122596

[REG 6.7.0->6.8.0] error in configure step, top level build, MinGW

    XMLWordPrintable

Details

    • Windows
    • 3334a77ec (dev), 9e9099865 (dev), fd8696e94 (6.7), 6674c0f8f (6.7), b37f9b429 (6.6), eafad1665 (6.6), 2880f8b2f (tqtc/lts-6.5), dd200f61f (tqtc/lts-6.5)

    Description

      Have Qt 6.8.0 sources in Windows11 x64 and run configure:

      cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR=C:\openssl\include\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF -DQT_BUILD_TESTS=OFF C:\Users\qt\RTA\s -DCMAKE_INSTALL_PREFIX:PATH=C:\Users\qt\RTA\s\qtbase 

      Fails:

      -- 
      Configuring submodule 'qtwebengine'
      [QtWebEngine] -- Windows 10 SDK version: 
      [QtWebEngine] -- Support check for QtWebEngine failed: GNU compiler is 
      not supported.
      -- Configuring submodule 'qtdoc'
      -- Configuring submodule 'qtgrpc'
      -- Configuring submodule 'qtlottie'
      -- Configuring submodule 'qtmqtt'
      -- Configuring submodule 'qtnetworkauth'
      -- Configuring submodule 'qtopcua'
      -- Configuring submodule 'qtquick3dphysics'
      -- Configuring submodule 'qtquickeffectmaker'
      Nodes path: 
      C:/Users/qt/RTA/s/qtbase/./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 qtbase/lib/cmake/Qt6/Qt6Config.cmake:221 (message):
        Failed to find optional Qt component "WebEngineCore".
      
        Expected Config file at
        
      "C:/Users/qt/RTA/s/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 qtbase/lib/cmake/Qt6/Qt6Config.cmake:221 (message):
        Failed to find optional Qt component "WebEngineQuick".
      
        Expected Config file at
        
      "C:/Users/qt/RTA/s/qtbase/lib/cmake/Qt6WebEngineQuick/Qt6WebEngineQuickConfig.cmake"
        does NOT exist
      
      Call Stack (most recent call first):
        qtwebview/CMakeLists.txt:15 (find_package)
      
      
      
      -- Configuration summary has been written to 
      C:/Users/qt/RTA/s/config.summary
      
      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: No backend for low level audio found.
      WARNING: QDoc will not be compiled, probably because clang's C and C++ 
      libraries could not be located. This means that you cannot build the Qt 
      documentation.
      You may need to set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the 
      location of your llvm installation.
      Other than clang's libraries, you may need to install another package, 
      such as clang itself, to provide the ClangConfig.cmake file needed to 
      detect your libraries. Once this
      file is in place, the configure script may be able to detect your 
      system-installed libraries without further environment variables.
      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 variable to ON to 
      re-evaluate this check.
      WARNING: QtWebEngine won't be built. GNU compiler is not supported.
      
      ERROR: x86 intrinsics support missing. Check your compiler settings. If 
      this is an
      error, report at https://bugreports.qt.io with your compiler ID and version,
      and this output:
      
      ${TEST_x86intrin_OUTPUT}
      
      
      CMake Error at qtbase/cmake/QtBuildInformation.cmake:221 (message):
        Check the configuration messages for an error that has occurred.
      Call Stack (most recent call first):
        qtbase/cmake/QtBuildInformation.cmake:39 (qt_configure_print_summary)
        qtbase/cmake/QtBaseTopLevelHelpers.cmake:69 (qt_print_feature_summary)
        qtbase/cmake/QtBaseTopLevelHelpers.cmake:57 (qt_internal_print_top_level_info)
        CMakeLists.txt:108 (qt_internal_top_level_end) 

      Works with Qt 6.7.0 MinGW so that it skips WebEngine build without above error (configure options are the same), same with Qt6.8.0 LLVM-MinGW17.0.6.

      qt5.git sha1 0ac7878a57c9b83f692a71fceb7d16b3051c2309

      (new snapshot just came through from coin integration, I'll check that soon)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: