[webkit-qt] Linking static custom plugins
Yael.Aharon at nokia.com
Yael.Aharon at nokia.com
Fri Apr 15 08:04:55 PDT 2011
It seems that there is a way to statically load a platform plugin.
Please see https://bugs.webkit.org/show_bug.cgi?id=49470
-Yael
-----Original Message-----
From: webkit-qt-bounces at lists.webkit.org [mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of Poulain Benjamin (Nokia-SD-Qt/Oslo)
Sent: Friday, April 15, 2011 10:51 AM
To: webkit-qt at lists.webkit.org
Subject: Re: [webkit-qt] Linking static custom plugins
On 04/15/2011 02:43 PM, ext Lindsay Mathieson wrote:
> I'm implementing a test QWebKitPlatformPlugin as a test and am
> wondering if its possible to link it statically into an app rather
> than creating a dynamic library. I get the following when trying:
>
> In function `global constructors keyed to windowOptions':
> main.cpp:(.text+0x4298): undefined reference to
> `qt_plugin_instance_testqwebkitplatformplugin()'
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/QtTestBrowser] Error 1
Plugins use dynamic linking by design.
IIRC, there is a macro to link a Qt plugin statically, but that is not
what you want to use for WebKit.
cheers,
Benjamin
_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
More information about the webkit-qt
mailing list