[Qtscript-bindings] msvc plugin debug posfix

Peter Kuemmel syntheticpp at gmx.net
Wed Jan 7 16:19:04 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?

Peter


-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a


More information about the Qtscript-bindings mailing list