Consider this header file:
When editing this file in Qt Creator 2.7.0 (and using Qt 5.0.2), QListView is either highlighted or not (see in-code comments), depending on the (mutually exclusive single) #include. The way highlighting works implies it mingles with Qt4, doesn't it?Qt Code:
#include <QListView> //doesn't highlight... //#include <QtWidgets> //highlights... //#include <QtWidgets/QListView> //doesn't highlight... //#include <QtGui/QListView> //highlights... { Q_OBJECT public: IssueView(); };To copy to clipboard, switch view to plain text mode
My build is ok and based solely on the Qt5 local to my home as the compile output confirms. The system version in /usr is Qt4 but shouldn't be used.
Is my guess correct? How can I overcome this?
Bookmarks