Merge topic 'unicode-cmake-gui'
c34216cf cmake-gui: Fix compile with Qt5 using UTF-8 internal encoding.
This commit is contained in:
commit
67a0d5e4c4
@ -81,9 +81,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
#if defined(KWSYS_CP_UTF8)
|
#if defined(KWSYS_CP_UTF8)
|
||||||
QTextCodec* utf8_codec = QTextCodec::codecForName("UTF-8");
|
QTextCodec* utf8_codec = QTextCodec::codecForName("UTF-8");
|
||||||
QTextCodec::setCodecForCStrings(utf8_codec);
|
|
||||||
QTextCodec::setCodecForLocale(utf8_codec);
|
QTextCodec::setCodecForLocale(utf8_codec);
|
||||||
QTextCodec::setCodecForTr(utf8_codec);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// clean out standard Qt paths for plugins, which we don't use anyway
|
// clean out standard Qt paths for plugins, which we don't use anyway
|
||||||
|
Loading…
x
Reference in New Issue
Block a user