"IntelliSense" problem (2 projects with UI classes with same name)
-
I don't know if this is known problem (or maybe not considered as problem at all), but i encountered problem with code completion/syntax highlighting in Qt Creator (2.8.1).
When I have opened two projects and both of them contain *.ui file with same name, class name and namespace name (lets say mainwindow.ui which generates ui_mainwindow.h/Ui_MainWindow).
In this situation I include file "ui_mainwindow.h" in some other file in project B, but Qt Creator thinks I included file from project A (when I use "Follow Symbol Under Cursor" feature or code completion) and uses file from project A build directory.
Lets just note that, these projects are unrelated and build works fine.Hopefully is my explanation of problem undestandable.
Thanks for any response. -
Same problem here. Not sure if this bug has been reported. The best way to avoid this is not to use similar names.
- "Prevention is better than cure."