[Qtscript-bindings] msvc plugin debug posfix
Peter Kuemmel
syntheticpp at gmx.net
Thu Jan 8 11:25:23 CET 2009
> All Qt plugins built with msvc have the posfix 'd' for the debug version.
> Therefore also the qtscript plugins should support this distinction.
>
> To add this to qtscriptgenerator only
> TARGET=$$qtLibraryTarget($$TARGET)
> Needs to be added to qtbindingsbase.pri
>
> But, as I could remember (have not tested it with 4.5), when using a
> debug build, QScriptEngine still loads the plugin without the postfix
> which results in crashes under Windows.
>
> Is QScriptEnginePrivate::importExtension the correct place to fix this?
Nothing to fix: using QT_PLUGIN_PATH solved the problem.
Only the patch for qtbindingsbase.pri is needed.
Peter
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
More information about the Qtscript-bindings
mailing list