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

Properties from QML_IMPORT_PATH modules are not visible

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 7.0.0
    • Quick / QML Support
    • None
    • All

    Description

      I have CMake-based library which exposes QML modules, and application which links to the library.

      The design works well when it comes to application runtime. On the other hand QtCreator's syntax checker shows

      Invalid property name "xxx". (M16)

      for every property it exposes. It looks like it recognizes the QML component but not the properties it exposes.

       

      What I have done is:

      set(QML_IMPORT_PATH /path/to/module/with/qmldir) CACHE STRING "Location of additional qml modules (for syntax highlighting only)" FORCE)

      ... in my client project (it is set properly as it can be found in CMakeCache).

       

       

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            jaskmar Mariusz Jaskółka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes