Is this possible? For some projects we'll never translate any of the internal strings, and so not bother with unicode either. So QApplication::translate(x,x,x,QApplication::Unicod eUTF8) seems a little redundant. Is it possible to disable these?
Is this possible? For some projects we'll never translate any of the internal strings, and so not bother with unicode either. So QApplication::translate(x,x,x,QApplication::Unicod eUTF8) seems a little redundant. Is it possible to disable these?
What is the problem you are trying to solve?
It's nice to be important but it's more important to be nice.
Further down the line when I need to squash the file as much as possible, I'd like to disable unicode, but I'm guessing thats going to be difficult with the designer creating such source code.
See which features can be disabled in qfeatures.h and qconfig.h.
But I doubt that unicode is in one of these because it is a real core feature.
It's nice to be important but it's more important to be nice.
[oops, please delete]
According to the code, it can be disabled, and its seems configurable as to how featureless(featurefull?) you want it to be:
Qt Code:
#ifdef QT_NO_TRANSLATION // Simple versions const char *, Encoding encoding) { #ifndef QT_NO_TEXTCODEC if (encoding == UnicodeUTF8) #else Q_UNUSED(encoding) #endif }To copy to clipboard, switch view to plain text mode
But, looking at that, it'll just return whatever you pass into it, so maybe it'll "just work" after all.
Bookmarks