Thank you,
I added ADD_DEFINITIONS(-DQT_STATICPLUGIN) but the result is the same (same
error message)
Best Regards
Am 02.03.2012 um 14:58 schrieb Thiago Macieira :
> On sexta-feira, 2 de março de 2012 13.48.03, NoRulez wrote:
>> When I compile it I get the following error:
>> In function `Sta
On sexta-feira, 2 de março de 2012 13.48.03, NoRulez wrote:
> When I compile it I get the following error:
> In function `StaticLocalPluginInstance': undefined reference to
> `qt_plugin_instance_Local()'
>
> Please, could anybody help me to get it working?
I guess you forgot to define QT_STATICPLU
Hello,I use Qt 4.8.0 from the QtSDK and I want to generate a static qt plugin.In my main.cpp I have the following:#include #include
Q_IMPORT_PLUGIN(Local)int main(int argc, char* argv[]) { QApplication app(argc, argv);
...
return app.exec();}The corresponding CMakeLists.txt for