no such file or directory: 'QtWidgets'
Solved
General and Desktop
-
Re: QtWidget/QAction no such file or directory
I encountered the same problem. How did you solve it in the end? -
OP has said it has helped already ;-) Don't use
module/class
syntax in include statements and you'll be fine.So do:
#include <QAction> // good #include <QtWidgets/QAction> // bad, QAction is in QtGui module actually
-
@sierdzio said in no such file or directory: 'QtWidgets':
OP has said it has helped already ;-) Don't use
module/class
syntax in include statements and you'll be fine.So do:
#include <QAction> // good #include <QtWidgets/QAction> // bad, QAction is in QtGui module actually
ok
thank you