[Qt-interest] Fwd: NON Unicode library (dll) in a unicode app, Win32 QtCreator
Nikos Geronitidis
geronik444 at gmail.com
Thu Aug 27 14:47:37 CEST 2009
The problem still exists after setting DEFINES -= UNICODE
This this is the error shown :
AdAChar. (ARXSDK header )
{
..
*#error Please use native wchar_t type (/Zc:wchar_t)*
..
}
---------- Forwarded message ----------
From: Peter Lee <ptle at risingsoftware.com>
Date: Thu, Aug 27, 2009 at 3:29 PM
Subject: Re: [Qt-interest] NON Unicode library (dll) in a unicode app, Win32
QtCreator
To: qt-interest at trolltech.com
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
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
--
Best Regards
Nikos Gerontidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090827/4d8cdc29/attachment.html
More information about the Qt-interest-old
mailing list