Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24081

Show explicitly changes in the QML_IMPORT_PATH

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.12.1
    • Fix Version/s: Qt Creator 4.13.0-beta1
    • Component/s: Documentation
    • Labels:
      None

      Description

      https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html explains how to convert .qmlproject to .pro projects. 

      It's explicitly shown, how to add additional QML import paths in C++, but for the .pro file it is just mentioned that the QML_IMPORT_PATH variable is created. The documentation would be more explicit, if the same example path, used for addImportPaths(), would be used for QML_IMPORT_PATHS as well.

      # Additional import path used to resolve QML modules in Qt Creator's code model

      QML_IMPORT_PATH = qml/imports

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-24081
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            leenam Leena Miettinen
            Reporter:
            tpyssysa Tino Pyssysalo
            PM Owner:
            Tino Pyssysalo Tino Pyssysalo
            RnD Owner:
            Kai Köhne Kai Köhne
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes