Add comment that qmake doesn't add _UNICODE define for project files.
This commit is contained in:
parent
0bb6e22d53
commit
7a84e7dcca
|
@ -43,6 +43,9 @@
|
||||||
// ANSI to Unicode. Likewise we must convert data we get from WinAPI from
|
// ANSI to Unicode. Likewise we must convert data we get from WinAPI from
|
||||||
// Unicode to ANSI.
|
// Unicode to ANSI.
|
||||||
|
|
||||||
|
// Note that qmake creates VS project files that define UNICODE but don't
|
||||||
|
// define _UNICODE! Which means e.g. TCHAR macros don't work properly.
|
||||||
|
|
||||||
#if defined(UNICODE)
|
#if defined(UNICODE)
|
||||||
|
|
||||||
static bool TransformUcs2ToAnsi(LPCWSTR psUcs, LPSTR psAnsi, int nAnsi)
|
static bool TransformUcs2ToAnsi(LPCWSTR psUcs, LPSTR psAnsi, int nAnsi)
|
||||||
|
|
Loading…
Reference in New Issue