[Webkit-unassigned] [Bug 88722] New: [Qt] WebKit/qt/declarative/plugin.cpp build failure due to use of old Q_EXPORT_PLUGIN2 macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 9 19:09:46 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88722

           Summary: [Qt] WebKit/qt/declarative/plugin.cpp build failure
                    due to use of old Q_EXPORT_PLUGIN2 macro
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bos at je-eigen-domein.nl


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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list