Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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.
ValentinMichelet last edited by ValentinMichelet
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.
ValentinMichelet last edited by
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.