[Qt-interest] NON Unicode library (dll) in a unicode app, Win32 QtCreator

Peter Lee ptle at risingsoftware.com
Thu Aug 27 14:29:53 CEST 2009


I think that DEFINES -= UNICODE in your pro file should do the trick.

Regards,

Peter Lee

Nikos Geronitidis wrote:
> I have an application which depends on an old dll, which does not 
> support UNICODE.
> Until now it is compiled in VStudio 2005 with:
> DEFINE = _MBCS, which means that /wchar /is treated as /char /type.
> How can I compile in Qt Creator when my application is compiled in 
> Unicode?
> When I define it with
> DEFINES += _MBCS
> an error occur.
> Any ideas? Thanks in advance.
>
> -- 
> Best Regards
> Nikos Gerontidis
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   

-- 
Peter Lee                                       ptle at risingsoftware.com
-----------------------------------------------------------------------
Rising Software Australia Pty. Ltd.      http://www.risingsoftware.com/
Publishers of 'Auralia' - Ear Training and 'Musition' - Theory Training
Ph: +61 3 9481 3320  FAX: +61 3 9481 3380  USA Freecall: 1 888 667 7839 





More information about the Qt-interest-old mailing list