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

Establish sane resource prefix for QML modules

XMLWordPrintable

    • 6aad465f08 (qt/qtdeclarative/dev) 6aad465f08 (qt/tqtc-qtdeclarative/dev)

      We should add an option (RESOURCE_PREFIX auto) to qt_add_qml_module that sets the RESOURCE_PREFIX to /user.qt-project.org/imports. This prefix should then be added to the QML import path. This way we can easily identify well-behaved modules in their respective .qrc files. Furthermore we don't need to pollute the global .qrc namespace anymore. Modules the neither set a specific RESOURCE_PREFIX nor does "RESOURCE_PREFIX auto" should generate a warning at compile time.

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

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes