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

Installing a QML module created by qt_add_qml_module

XMLWordPrintable

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

      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

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes