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

qttranslations configure takes ages on CMake 3.27

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.3
    • 6.4, 6.5, 6.6
    • Build System: CMake
    • None
    • 087ca720a (dev), 6c989c57d (6.5)

    Description

      Since we upgraded to CMake 3.27.1 the configuration of qttranslations takes ages. Maybe it is a CMake regression but we can only see this in Qt at the moment.

      It hangs here:

       -- 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=/usr/bin/objcopy 
                 -DCMAKE_C_STANDARD=11 
                 -DCMAKE_C_STANDARD_REQUIRED=ON 
                 -DCMAKE_CXX_STANDARD=17 
                 -DCMAKE_CXX_STANDARD_REQUIRED=ON 
                 -DCMAKE_MODULE_PATH:STRING=/.../libs/default/b/src/qt/qtbase/cmake/platforms 
      -- Configuring submodule 'qtimageformats' 
      -- Configuring submodule 'qtlanguageserver' 
      -- Configuring submodule 'qtshadertools' 
      -- Configuring submodule 'qtsvg' 
      -- Configuring submodule 'qtdeclarative' 
      -- Configuring submodule 'qtwebsockets' 
      -- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.5.0", minimum required is "0.5.0")  
      CMake Warning (dev) at /.../src/qt-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 'qtscxml' 
      -- Configuring submodule 'qtactiveqt' 
      -- Configuring submodule 'qttools' 
      -- Configuring submodule 'qttranslations'
      

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-115634
          # Subject Branch Project Status CR V

          Activity

            People

              mrmsdbdl Amir Masoud Abdol
              misery André Klitzing
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes