Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0 RC
-
None
-
Windows 10, simplified chinese
vs2015 update 3
-
3cd1c3cb70dd57df939ad067f5668e8304d32237
Description
Now I fail to compile src/plugins/generic/tuiotouch/qtuiohandler.cpp under simplified chinese Windows 10, This is caused by the following line:
qCDebug(lcTuioSet) << "Processing SET for token " << classId << id << " @ " << x << y << "∡" << angle << "vel" << vx << vy << angularVelocity << "acc" << acceleration << angularAcceleration;
There is a character '∡' in this line which is not a latin-1 character but it is a valid utf-8 character. But under simplified chinese windows 10, the default character-set is GBK, the compiler will assume GBK source code which cause the compile error.
Attachments
Issue Links
- relates to
-
COIN-126 should test Qt in non-english locale, at least CJK
- Need More Info
-
QTBUG-56155 Allow UTF-8 in qt sources
- Closed
For Gerrit Dashboard: QTBUG-58161 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
183817,10 | Turn on -utf-8 compiler option for msvc2015 update 2 and up | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |
184030,3 | Fix libs build with msvc on Chinese locale on Windows | 5.8 | qt/qtbase | Status: MERGED | -2 | 0 |
184230,3 | Fix libs build with msvc on Chinese locale on Windows | 5.8 | qt/qtdeclarative | Status: MERGED | -2 | 0 |