Unsolved Can't find QtWidgets
-
I use Ubuntu Linux 15.10 and downloaded and installed the LGPL version of Qt.
But g++ can't find the include file QtWidgets.
Any help?Kind regards
Peter -
Hi, welcome to devnet.
Did you add this line to your .pro file?
QT += widgets -
Uhm, errh, I have no .pro file and I hope I can get along without one.
-
Then I assume that you have a project based on CMake? If not, I won't be able to help you compile with only a makefile.
Here is the CMake documentation for a Qt project: http://doc.qt.io/qt-5/cmake-manual.html
-
Thanks! That helps me. I will read and use that.