Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58161

qtuiohandler.cpp fail to compile under simplified chinese windows 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.0 Beta 2
    • 5.8.0 RC
    • Other
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              liaqi Liang Qi
              jianliang79 liang jian
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes