[Qt-interest] Looking for a macro or compiler flag to help with internationalization

Thomas McGuire thomas at kdab.com
Sat Jan 2 00:28:57 CET 2010


Hi,

On Friday 01 January 2010 19:15:37 Dan White wrote:
> I recall a compiler flag or qmake option that will alert you to any
> string literals that are not wrapped in a tr() call, but I cannot
> find it.
> 
> Clues, please, for this clueless one ?

I think you are looking for 
http://doc.trolltech.com/4.6/qstring.html#QT_NO_CAST_FROM_ASCII.

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100102/0ae3dc63/attachment.bin 


More information about the Qt-interest-old mailing list