Hi Folks, currently I evaluating Qt for CE and get in big trouble with the wchar_t handling of Qt: The CFLAGS for Windows Desktop and CE includes "/Zc:wchar_t-" with the result wchar_t is a "unsigned short" which isn't the default and results in a incompatible ABI/Name mangling between Qt and any other library we use. I dislike the idea changing any other project to be Qt compatible.
I am not the first one with this problem: http://trolltech.com/developer/task-tracker/index_html?method=entry&id=101990 I've found out that the source for this is a "bugfix" two years ago: http://trolltech.com/developer/task-tracker/index_html?method=entry&id=137002 Unfortunatly the Qt source (wince...4.5.0-snapshot-20081121) isn't compileable without "/Zc:wchar_t-" because for example: "cannot convert parameter 1 from 'const ushort *' to 'LPCWSTR'" src\gui\text\qfontdatabase_win.cpp: 1. if (AddFontResource(fnt->fileName.utf16()) == 0) { 2. #ifdef Q_OS_WINCE if (!RemoveFontResource(font.fileName.utf16())) So is there any plan to fix this issue? Greetings, Marco _______________________________________________ Qt-wince-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
