Bug 88722
Summary: | [Qt] WebKit/qt/declarative/plugin.cpp build failure due to use of old Q_EXPORT_PLUGIN2 macro | ||
---|---|---|---|
Product: | WebKit | Reporter: | Floris Bos <bos> |
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | stephan.binner |
Priority: | P3 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Floris Bos
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Stephan Binner
Duplicate of already solved bug 89027
Jocelyn Turcotte
=== 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.