https://bugs.kde.org/show_bug.cgi?id=402401

            Bug ID: 402401
           Summary: Falkon fails to build with Qt 5.12 and current
                    Framworks
           Product: Falkon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: bluescreenaven...@gmail.com
  Target Milestone: ---

Trying to build Falkon, I get this error:

[ 89%] Building CXX object
autotests/CMakeFiles/adblocktest.dir/qrc_autotests.cpp.o
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp:
In constructor
‘KDEFrameworksIntegrationPlugin::KDEFrameworksIntegrationPlugin()’:
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp:43:45:
error: no matching function for call to
‘Purpose::Menu::Menu(KDEFrameworksIntegrationPlugin*)’
     , m_sharePageMenu(new Purpose::Menu(this))
                                             ^
In file included from /opt/include/KF5/purposewidgets/PurposeWidgets/Menu:1,
                 from
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.h:22,
                 from
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp:18:
/opt/include/KF5/purposewidgets/purposewidgets/menu.h:35:14: note: candidate:
‘Purpose::Menu::Menu(QWidget*)’
     explicit Menu(QWidget* parent = nullptr);
              ^~~~
/opt/include/KF5/purposewidgets/purposewidgets/menu.h:35:14: note:   no known
conversion for argument 1 from ‘KDEFrameworksIntegrationPlugin*’ to ‘QWidget*’
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp:
In member function ‘virtual void
KDEFrameworksIntegrationPlugin::populateWebViewMenu(QMenu*, WebView*, const
WebHitTestResult&)’:
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp:104:57:
error: no matching function for call to ‘QJsonValue::QJsonValue(QUrl)’
         { QStringLiteral("urls"), QJsonValue(view->url()) },
                                                         ^
In file included from /opt/include/QtCore/qjsonobject.h:43,
                 from /opt/include/QtCore/qplugin.h:45,
                 from /opt/include/QtCore/QtPlugin:1,
                 from /srcbuild/falkon/src/lib/plugins/plugininterface.h:21,
                 from
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.h:20,
                 from
/srcbuild/falkon/src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.cpp:18:
/opt/include/QtCore/qjsonvalue.h:156:5: note: candidate:
‘QJsonValue::QJsonValue(QJsonPrivate::Data*, QJsonPrivate::Base*, const
QJsonPrivate::Value&)’
     QJsonValue(QJsonPrivate::Data *d, QJsonPrivate::Base *b, const
QJsonPrivate::Value& v);
     ^~~~~~~~~~


Let me know if more info is needed?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to