Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 3.0.0
-
None
-
Windows 7 64 bits.
Qt 5.2.0
Qt Creator 3.0.0
Description
When importing a very minimal CMake project into Qt Creator, the Qml text editor and designer complains about "Using Qt Quick 1 code model instead of Qt Quick 2 M324".
I have tried adding add_definitions(-DQML_IMPORT_PATH=...) which did nothing. I have also tried adding QML_IMPORT_PATH to the environment variables.
Update: I forgot to mention, that the problem can be solved by opening another project in the same Qt Creator instance, if the other project is a standard QMake project.
Update 2: I made a mistake when adding the QML_IMPORT_PATH environment variable. With this corrected, Qt Creator works as it should, but I think this should work without adding an environment variable, as it does with QMake.