[Qtscript-bindings] msvc plugin debug posfix

Kent Hansen khansen at trolltech.com
Thu Jan 8 12:10:49 CET 2009


Peter Kuemmel wrote:
>> 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
>   


Hi Peter,
Thanks for the patch, it's been applied upstream.

Kent



More information about the Qtscript-bindings mailing list