-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
Windows 7, msvs2012 express
-
08582917b43af8670658c210b2cb2a8b06e04252
The following code doesn't compile when adding the first include (#include <QtWebSockets/QtWebSockets>).
error C1083: Cannot open include file: 'QObject': No such file or directory... this happens in qmaskgenerator.h
I really think in qmaskgenerator.h, QtCore is missing in front of QObject (it should be #include<QtCore/QObject>). This solve the problem for me...
#include <QtWebSockets/QtWebSockets>
#include <QtCore/QCoreApplication>
#include <iostream>
int main(int argc, char *argv[])
{ QCoreApplication app(argc, argv); std::cout<<"hello world!" << std::endl; return app.exec(); }For Gerrit Dashboard: QTBUG-48714 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
127329,3 | Include QtCore/ in path for #include of QObject. | 5.5 | qt/qtwebsockets | Status: MERGED | +2 | 0 |