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

qtgraphicaleffects - Unknown CMake command "add_qml_module"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.2.0 Beta2
    • Build System: CMake
    • None
    • CentOS 8 - gcc 8.3.1 - cmake 3.20.2
      Build from Git repository
    • Linux/X11

    Description

      I clone recursively qt5 superproject (branch 6.2) and I build qt5 superproject.

      qtgraphicaleffects  is always defined as submodule (cf .gitmodules)

      qtgraphicaleffects submodule should be remove from qt5 superproject submodule.

       

      Moreover, I build in command line using cmake tool. if QT_BUILD_SUBMODULES is not defined in cmake options (CMAKE_OPTIONS="${CMAKE_OPTIONS} -DQT_BUILD_SUBMODULES=qtbase;....." in the command line, the default QT_BUILD_SUBMODULES variable contains qtgraphicaleffects in qt5 superproject.

      qtgraphicalseffects should be remove from the default QT_BUILD_SUBMODULES variable.

       

      If I define my own QT_BUILD_SUBMODULES list (without qtgraphicaleffects), all is build correctly.

       

      -----------------------------------------------------------------------------------------------------------------------

       

      Error when executing configure command line (error when configure qtgraphicaleffects)

       

      Trace in terminal :

       

      • Running syncqt for module: 'QtDesignerComponents'
      • Running syncqt for module: 'QtHelp'
      • Tool 'Qt6::qhelpgenerator' will be built from source.
      • Tool 'Qt6::qtattributionsscanner' will be built from source.
      • Tool 'Qt6::qdoc' will be built from source.
        Configuring 'qtdoc'
        Configuring 'qtgraphicaleffects'
        CMake Error at qtgraphicaleffects/src/effects/CMakeLists.txt:7 (add_qml_module):
        Unknown CMake command "add_qml_module".

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              phfr83 phfr83
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes