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: [email protected] 
[mailto:[email protected]] On Behalf Of Poulain Benjamin 
(Nokia-SD-Qt/Oslo)
Sent: Friday, April 15, 2011 10:51 AM
To: [email protected]
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
   [email protected]
   http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to