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

qt6_import_qml_plugins does not compose

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.2.0 Beta1
    • 6.1.0 Beta3
    • Build System: CMake
    • None

      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`

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

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

              Created:
              Updated:
              Resolved: