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

qt6_import_qml_plugins does not compose

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.1.0 Beta3
    • Fix Version/s: 6.2.0 Beta1
    • Component/s: Build System: CMake
    • Labels:
      None

      Description

      i'm having an architecture like this:

      add_library( SomeReusableComponents ... )
      qt6_import_qml_plugins( SomeReusableComponents )
      
      add_executable( EndUserTarget )
      target_link_libraries( EndUserTarget SomeReusableComponents )
      qt6_import_qml_plugins( EndUserTarget )
      

      the problem is: if `SomeReusableCompenents` depends on a qml plugin, it will be added to its `Qt6_QmlPlugins_Imports_XXX.cpp`, but this usage requirement will not be propagated to `EndUserTarget`

        Attachments

          Issue Links

          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:
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews