Build failure via QtWebEngine
SolarAquarion opened this issue · comments
Solomon Choina commented
webview.cpp: In member function ‘virtual bool WebPage::certificateError(const QWebEngineCertificateError&)’:
webview.cpp:105:9: error: invalid use of incomplete type ‘const class QWebEngineCertificateError’
if (error.isOverridable()) {
^~~~~
In file included from /usr/include/qt/QtWebEngineWidgets/qwebengineview.h:48,
from /usr/include/qt/QtWebEngineWidgets/QWebEngineView:1,
from webview.h:55,
from webview.cpp:53:
/usr/include/qt/QtWebEngineWidgets/qwebenginepage.h:62:7: note: forward declaration of ‘class QWebEngineCertificateError’
class QWebEngineCertificateError;
^~~~~~~~~~~~~~~~~~~~~~~~~~
webview.cpp:108:24: error: invalid use of incomplete type ‘const class QWebEngineCertificateError’
msgBox.setText(error.errorDescription());
^~~~~
In file included from /usr/include/qt/QtWebEngineWidgets/qwebengineview.h:48,
from /usr/include/qt/QtWebEngineWidgets/QWebEngineView:1,
from webview.h:55,
from webview.cpp:53:
/usr/include/qt/QtWebEngineWidgets/qwebenginepage.h:62:7: note: forward declaration of ‘class QWebEngineCertificateError’
class QWebEngineCertificateError;
^~~~~~~~~~~~~~~~~~~~~~~~~~
webview.cpp:117:60: error: invalid use of incomplete type ‘const class QWebEngineCertificateError’
QMessageBox::critical(view(), tr("Certificate Error"), error.errorDescription(), QMessageBox::Ok, QMessageBox::NoButton);
^~~~~
In file included from /usr/include/qt/QtWebEngineWidgets/qwebengineview.h:48,
from /usr/include/qt/QtWebEngineWidgets/QWebEngineView:1,
from webview.h:55,
from webview.cpp:53:
/usr/include/qt/QtWebEngineWidgets/qwebenginepage.h:62:7: note: forward declaration of ‘class QWebEngineCertificateError’
class QWebEngineCertificateError;
^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:1357: webview.o] Error 1
Per Bothner commented
Hm. Could you do a pull and try again?
Solomon Choina commented
It builds wonderfully thanks