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

Installing a QML module created by qt_add_qml_module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.4.2
    • Build System
    • None

    Description

      When using qt_add_qml_module I found no way to install a created QML module so that another project can import and use it.

      In KDE we have various "library" projects that install QML imports to be used in other projects, most prominently https://invent.kde.org/frameworks/kirigami

      After reading https://doc.qt.io/qt-6/cmake-build-reusable-qml-module.html and https://qt_add_qml_moduledoc.qt.io/qt-6/qt-add-qml-module.html I don't see how I would use qt_add_qml_module in Kirigami to allow other projects to import the created QML module

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              nicolasfella Nicolas Fella
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes