Path: blob/main/finance/alkimia/files/patch-src_alkwebpage.h
16149 views
Fix build when both the WEBKIT and WEBENGINE options are set to OFF.12/wrkdirs/usr/ports/finance/alkimia/work/alkimia-8.1.0/tools/onlinequoteseditor/mainwindow.cpp:52:28: error: member access into incomplete type 'const QUrl'3d->urlLine->setText(url.toString());4^5/usr/local/include/qt5/QtCore/qmetatype.h:2089:1: note: forward declaration of 'QUrl'6QT_FOR_EACH_STATIC_CORE_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)7^8/usr/local/include/qt5/QtCore/qmetatype.h:121:17: note: expanded from macro 'QT_FOR_EACH_STATIC_CORE_CLASS'9F(QUrl, 17, QUrl) \10^11/wrkdirs/usr/ports/finance/alkimia/work/alkimia-8.1.0/tools/onlinequoteseditor/mainwindow.cpp:57:63: error: 'QUrl' is an incomplete type12AlkOnlineQuotesProfileManager::instance().webPage()->load(QUrl(d->urlLine->text()), d->quotesWidget->acceptLanguage());13^14/usr/local/include/qt5/QtCore/qmetatype.h:2089:1: note: forward declaration of 'QUrl'15QT_FOR_EACH_STATIC_CORE_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)16^17/usr/local/include/qt5/QtCore/qmetatype.h:121:17: note: expanded from macro 'QT_FOR_EACH_STATIC_CORE_CLASS'18F(QUrl, 17, QUrl) \19^202 errors generated.2122--- src/alkwebpage.h.orig 2021-03-10 18:46:11 UTC23+++ src/alkwebpage.h24@@ -83,6 +83,7 @@ class ALK_EXPORT AlkWebPage : public QWebView (private2526#else2728+#include <QUrl>29#include <QWidget>3031/**323334