Merge topic 'unicode-cmake-gui'

c34216cf cmake-gui: Fix compile with Qt5 using UTF-8 internal encoding.
This commit is contained in:
Brad King 2014-03-14 09:30:26 -04:00 committed by CMake Topic Stage
commit 67a0d5e4c4
1 changed files with 0 additions and 2 deletions

View File

@ -81,9 +81,7 @@ int main(int argc, char** argv)
#if defined(KWSYS_CP_UTF8)
QTextCodec* utf8_codec = QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForCStrings(utf8_codec);
QTextCodec::setCodecForLocale(utf8_codec);
QTextCodec::setCodecForTr(utf8_codec);
#endif
// clean out standard Qt paths for plugins, which we don't use anyway