Solved Installed 5.12.5 version of Qt: Getting QML Import errors in editor, but not when running
-
I just went from 5.12.2 and installed 5.12.5 for an existing project. For some reason I am getting import errors that were not reported in 5.12.2. The errors look like this:
However, the program still runs fine and does not produce any runtime errors resulting from these import errors/warnings. So I have to imagine this is something to do with the parser not getting something it needs in Qt Creator. The modules installed in 5.12.5 are identical to what I installed with 5.12.2. All build and run options are the same.
-
Hi,
Did you also update Qt Creator ?
-
Last week I did. My version of Qt Creator is 4.10.0
Edit:
Just checked for updates. There are none available. -
I just updated my Windows dev system to Qt 5.12.5 and Qt Creator 4.10.0. Getting the same results with the creator parsing. It shows the errors on imports, but otherwise the code runs fine.
So I am seeing this with both Linux and Windows dev environments.
-
-
Nice !
Since you could fix it, please mark the thread as solved os other forum users may know a solution has been found :)