String compatible with both Unicode and Multi-byte characters?
General and Desktop
1
Posts
1
Posters
718
Views
1
Watching
-
wrote on 24 Jun 2014, 14:09 last edited by
Under Visual C++, there is a _T macro which will work for both Unicode and Multi-byte character strings. Under Qt, is there a similar macro to do this? For example, under the following code:
QVariant("Source File Name")
The string constant is in ANSI format(or Multi-byte character string), is is possible for the code to work under both Unicode and Multi-byte character projects?
1/1