This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Windows XP, MinGW with MSYS, Qt 5.0.1 with MinGW Such paths are added into %PATH%: D:\Qt\Qt5.0.1-mingw\Tools\MinGW\bin;D:\MinGW\bin;D:\MinGW\msys\1.0\bin;D:\Qt\Qt5.0.1-mingw\5.0.1\mingw47_32\bin;%Path% Scenario: - Add GCC4.7 toolchain - Create "Hello Qt World" project - Add "QT += widgets" into "Build|Qt|Custom Definitions" field - Replace "#include <QtGui/QApplication>" on "#include <QApplication>" in main.cpp - Build project ===> ok - Check newmain.cpp file ===> IDE can't find #include <QApplication> Workaround: Add D:/Qt/Qt5.0.1-mingw/5.0.1/mingw47_32/include/QtWidgets into "Build|C++ Compiler|Include Directories" ("QT += widgets" line adds some -I flags)
It looks like https://netbeans.org/bugzilla/show_bug.cgi?id=225495 fixes resolved this issue as well. At least I cannot reproduce them after the fix. At any case this issue is not actual if Qt 5 is installed by default on the system.