[Qt-interest] Plugin Issues

Tommy Nordgren tommy.nordgren at comhem.se
Sat Mar 7 20:46:08 CET 2009


On Mar 7, 2009, at 6:37 PM, Niklas Berglund wrote:

> On Mar 7, 2009, at 6:31 PM, Juan D Guzman wrote:
>> Niklas Berglund wrote:
>>> On Mar 7, 2009, at 6:12 PM, Juan D Guzman wrote:
>>>
>>>> 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.
>>>>
>>>
>>> I see. Hmm what does yourPluginLoaderInstance->errorString() say
>>> after  trying to load the plugin?
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>>
>> I'm in the process of trying this all over again.  It seems my
>> problem may be something else ... perhaps linking.  My plugin in VS
>> produces a dll of about 4 megs.  In Qt Creator using MinGW it's 160
>> megs.  Something is obviously not right.
>

	It's hard to be certain, but this huge difference in sizes might  
indicate
that the MinGW version is statically linked to the Qt Libraries
> Oh.. Yes, however I believe errorString() would give you a hint of
> what might be the problem.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest

----------------------------------
The three things an undertaker should never say to a client:
-Nice doing business with you.
-Welcome back.
-Have a nice day. (The King of ID)
----------------------------------
Tommy Nordgren
tommy.nordgren at comhem.se






More information about the Qt-interest-old mailing list