Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 7.0.0
-
None
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).