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

[cmake] qtpositioning tries to link something QML to an executable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.3
    • None

    Description

      CMake Error at /home/tjmaciei/obj/qt/qt6-release/qtbase/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:1003 (target_link_libraries):
        Target "tst_declarative_positioning_core" of type EXECUTABLE 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/tjmaciei/obj/qt/qt6-release/qtbase/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:489 (qt6_add_qml_plugin)
        /home/tjmaciei/obj/qt/qt6-release/qtbase/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:535 (qt6_add_qml_module)
        qtpositioning/tests/auto/declarative_positioning_core/CMakeLists.txt:25 (qt_add_qml_module)
      

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes