[Qt-interest] Plugin Issues

Juan D Guzman lostinthecode at googlemail.com
Sat Mar 7 18:12:22 CET 2009


Niklas Berglund wrote:
> On Mar 7, 2009, at 4:47 PM, Juan D Guzman wrote:
>   
>> Hello,
>>
>> I am fairly new to Qt and have been using only a small time in VS2008.
>> I have successfully built an application that loads plugins.  My  
>> problem
>> is that when I compile under VS2008 everything works fine and the
>> plugin  loads with no issues; however, when compile in Qt Creator  
>> using
>> MinGW everything compiles but the plugin doesn't load.  I am at a loss
>> as to why any suggestions?
>>     
>
> I suspect that your app is compiled with one compiler, while the  
> plugin(s) are built with another compiler.
> Causing build key to differ. See http://doc.trolltech.com/4.5/plugins-howto.html#the-build-key
>
> Make sure you recompile the plugins and the app in QtCreator.
> I've recently been struggling with this myself.
> I had to remove the plugin builds manually to get them to recompile.
> There's probably some other way to do it.
>
> Hope this helps
>
> /Niklas
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   
Thank you for your response.  What I did when Switched to Qt Creator and 
MinGW is that I deleted all generated files and any build output.  So in 
theory there should be nothing left form the VS builds right?  I also 
made sure that I was pointing the the correct Qt build, because i 
suppose i have to use the MinGW built qt.  I still don't get a working 
plugin.

I may try to make a quick test app from scratch in Qt Creator and see 
what happens.

Regards



More information about the Qt-interest-old mailing list