Qt-interest Archive, November 2006
AW: AW: QPluginLoader fails in release build(?)
Message 1 in thread
Hi David,
I discussed the problem with a co-worker of yours (Jan-Arve Sæther) privately and resolved the issue: I use a self-made building environment and didn't supply the QT_NO_DEBUG preprocessor flag while compiling in release mode. This made the plugins unusable. Setting this define solved it.
Best regards,
Daniel Schneidereit
EA Phenomic / Phenomic Game Development
-----Ursprüngliche Nachricht-----
Von: David Boddie [mailto:dboddie@xxxxxxxxxxxxx]
Gesendet: Dienstag, 31. Oktober 2006 17:10
An: qt-interest@xxxxxxxxxxxxx
Betreff: Re: AW: QPluginLoader fails in release build(?)
Schneidereit, Daniel wrote:
> Just to let you know, I recompiled Qt 4.2 from source and set
> QT_NO_PLUGIN_CHECK so QPluginPrivate::isPlugin() doesn't check build
> keys and voila, plugins do work in release mode now. Trolltech should
> check their isPlugin() function in release mode though...
I know you previously said this:
> Any suggestions? And yes, I do link to the correct (pre-built) qt libs.
But are you absolutely sure that the plugins are built using the same
configuration as the application? Could you possibly run the application
with the QT_DEBUG_PLUGINS environment variable set and post the results?
--
[ signature omitted ]