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

qt6_import_qml_plugins does not compose

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta1
    • 6.1.0 Beta3
    • Build System: CMake
    • 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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: