RESOLVED INVALID 88722
[Qt] WebKit/qt/declarative/plugin.cpp build failure due to use of old Q_EXPORT_PLUGIN2 macro
https://bugs.webkit.org/show_bug.cgi?id=88722
Summary [Qt] WebKit/qt/declarative/plugin.cpp build failure due to use of old Q_EXPOR...
Floris Bos
Reported 2012-06-09 19:09:45 PDT
QtWebkit fails to build in combination with the newest qt5-base from git: == /hdd/max/dev/qt-buildroot/RaspberryPi-BuildRoot/WebKit-r119882/Source/WebKit/qt/declarative/plugin.cpp:91:1: error: invalid application of 'sizeof' to incomplete type 'QStaticAssertFailure<false>' == Line concerned: == Q_EXPORT_PLUGIN2(qmlwebkitplugin, QT_PREPEND_NAMESPACE(WebKitQmlPlugin)); == qtplugin.h: == # define Q_EXPORT_PLUGIN2(PLUGIN, PLUGINCLASS) \ Q_STATIC_ASSERT_X(false, "Old plugin system used") == Seems it should be converted to Q_PLUGIN_METADATA: http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5
Attachments
Stephan Binner
Comment 1 2012-06-28 05:21:29 PDT
Duplicate of already solved bug 89027
Jocelyn Turcotte
Comment 2 2014-02-03 03:21:11 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.