Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12331

Add QML_IMPORT_PATH to property editor imports in order to resolve them in QtCreator

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • All Other Issues
    • None

    Description

      Use QML_IMPORT_PATH so things like StudioControls.MenuItem can be resolved by QtCreator. Currently the code model doesn't know those components so no syntax highlighting nor auto completion is working which makes using them in code a bit tedious.

      It is possible to resolve the issue by setting QML_IMPORT_PATH in the build configuration of a project, but it would be nice to have a more permanent solution.

      https://doc.qt.io/qtcreator/creator-qml-modules-with-plugins.html#importing-qml-modules

      Attachments

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

        Activity

          People

            tjenssen Tim Jenssen
            henning Henning Gründl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes