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

Show explicitly changes in the QML_IMPORT_PATH

    XMLWordPrintable

Details

    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

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

        Activity

          People

            leenam Leena Miettinen
            tpyssysa Tino Pyssysalo
            Tino Pyssysalo Tino Pyssysalo
            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