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

Building documentation fails on target qtgraphicaleffectsplugin

    XMLWordPrintable

    Details

    • Commits:
      cec25d2ac62137b9a869f36cda10db43558c215d (qt/qt5/dev) 384bff22f7fe4784ec55446a887eb4014884ed09 (qt/qt5/6.2)

      Description

      Running the commands

      rm -rf qt5
      rm -rf qt5build
      git clone git://code.qt.io/qt/qt5.git
      cd qt5
      git checkout dev
      perl init-repository -module-subset=all
      git submodule foreach "git checkout dev || true"
      git submodule foreach "git pull --rebase || true"
      cd ..
      mkdir qt5build
      cd qt5build
      ../qt5/configure -developer-build -skip qtremoteobjects -skip qtwebsockets 2>&1 | tee ../configure_`date +%F_%H-%M-%S`.txt
      cmake --build . --target html_docs 2>&1 | tee ../output_`date +%F_%H-%M-%S`.txt
      
      

      I get the error message

      Configuring 'qtgraphicaleffects'
      CMake Error at /home/andreasbuhr/development/qtdocumentation/qt5build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1041 (target_link_libraries):
        Target "qtgraphicaleffectsplugin" of type MODULE_LIBRARY may not be linked
        into another target.  One may link only to INTERFACE, OBJECT, STATIC or
        SHARED libraries, or to executables with the ENABLE_EXPORTS property set.
      Call Stack (most recent call first):
        /home/andreasbuhr/development/qtdocumentation/qt5build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:490 (qt6_add_qml_plugin)
        /home/andreasbuhr/development/qtdocumentation/qt5build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:256 (qt6_add_qml_module)
        qtgraphicaleffects/src/effects/CMakeLists.txt:7 (qt_internal_add_qml_module)
      
      
      CMake Error at /home/andreasbuhr/development/qtdocumentation/qt5build/qtbase/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:500 (target_link_libraries):
        Target "qtgraphicaleffectsplugin" of type MODULE_LIBRARY may not be linked
        into another target.  One may link only to INTERFACE, OBJECT, STATIC or
        SHARED libraries, or to executables with the ENABLE_EXPORTS property set.
      Call Stack (most recent call first):
        /home/andreasbuhr/development/qtdocumentation/qt5build/qtbase/lib/cmake/Qt6Qml/Qt6QmlBuildInternals.cmake:256 (qt6_add_qml_module)
        qtgraphicaleffects/src/effects/CMakeLists.txt:7 (qt_internal_add_qml_module)
      
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              andreasbuhr Andreas Buhr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes