PerBothner / DomTerm

DOM/JavaScript-based terminal-emulator/console

Home Page:https://domterm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failure via QtWebEngine

SolarAquarion opened this issue · comments

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

Hm. Could you do a pull and try again?

It builds wonderfully thanks