Issues with the new Qt version using the older compiler
-
I wanted to use Qt6 for my old project, so I imported the old Q5.5.0 compiler into Qt6.6.2 and successfully recompiled the project, but there were errors in the code interface
So I compared the file paths of the old Qt and the new Qt
Qt5.5.0
Qt6.6.2
I found that Qt5.5.0 uses "/" and Qt6.6.2 uses "\".So how do I deal with this situation
-
@qsg223
Whatever the issue is it is nothing to do with messages showing a/
versus a\
, so there is nothing needed to "deal with this situation".I don't know what "imported the old Q5.5.0 compiler into Qt6.6.2" means. You can set up to use Qt5 or Qt6 for a project as you please, there is no "importing" of one into another.
If you are saying that the project actually compiles fine using Qt5 but the IDE only shows these errors then it is a some code model issue. Start by deleting the build output folder (
build-...
) and rebuild from scratch. You might try a tiny, standalone new test project to see how they compare/whether that works OK. -
@JonB said in Issues with the new Qt version using the older compiler:
I don't know what "imported the old Q5.5.0 compiler into Qt6.6.2" means
I expect the latter to be QtCreator.
What I find more interesting is the mention of 5.5
That release was tagged June 2015