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

QML examples: Put QML files under the default location, qrc:/qt/qml/<MODULE_NAME>/

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • None

      Lots of examples still use paths like qrc:/<MODULE_OR_EXAMPLE_NAME>/main.qml

      We should change these to use the default path generated by qt_add_qml_module(), which will allow us to:

      • Showcase QTP0001
      • Avoid requiring a custom RESOURCE_PREFIX or adding NO_RESOURCE_TARGET_PATH in CMakeLists.txt
      • Avoid requiring a custom import path (QQmlEngine::addImportPath()) in C++

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

            qtqmlteam Qt Qml Team User
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes