Bug 88722 - [Qt] WebKit/qt/declarative/plugin.cpp build failure due to use of old Q_EXPORT_PLUGIN2 macro
Summary: [Qt] WebKit/qt/declarative/plugin.cpp build failure due to use of old Q_EXPOR...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 19:09 PDT by Floris Bos
Modified: 2014-02-03 03:21 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Floris Bos 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
Comment 1 Stephan Binner 2012-06-28 05:21:29 PDT
Duplicate of already solved bug 89027
Comment 2 Jocelyn Turcotte 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.