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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: None
    • Labels:
      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

            Assignee:
            alexandru.croitor Alexandru Croitor
            Reporter:
            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