OS X 10.9, "QtWidgets" not found
I have added "QT += widgets" to the .pro file
In Qt Creator, it's able to find this file sits at,
But when compiling, the error generated,
fatal error: 'QtWidgets' file not found
Has anyone met same problem?
What should I do with it?
Any idea would be appreciated!!!
Hi, and welcome to the Qt Dev Net!
Did you run qmake after you modified your .pro file?
[quote author="JKSH" date="1393911252"]Hi, and welcome to the Qt Dev Net!
Did you run qmake after you modified your .pro file?[/quote]
Thank you for reply!
It is an old project which I am moving from Qt4 to Qt5.
I removed the #include <QtGui> before the <QtWidgets> and do qmake as you suggested, it works~~