Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.0
-
None
-
37e6159ab (dev), 861664b9d (6.8), bba015020 (dev), 7b8cbbff7 (6.8), 1e1118172 (6.7), aaa5e4a83 (tqtc/lts-6.5)
Description
Qt by default forces UTF-8 on sources by adding {-utf-8} to the MSVC (cl.exe) command line. This is a good default, but some people might choose to opt out of it ...
To avoid this, the user can set the QT_NO_UTF8_SOURCE property on CMake targets. We should consider documenting this (which would also be then a place to document the default).
Attachments
For Gerrit Dashboard: QTBUG-126435 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
577497,1 | Add the note about the runtime encoding in the QString-like classes and QT_NO_UTF8_SOURCE | 6.7 | qt/qtbase | Status: NEW | 0 | 0 |
576849,3 | Add documentation for the QT_NO_UTF8_SOURCE property | dev | qt/qtbase | Status: MERGED | +2 | 0 |
576897,2 | Add documentation for the QT_NO_UTF8_SOURCE property | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
577073,4 | Add the note about the runtime encoding in the QString-like classes and QT_NO_UTF8_SOURCE | dev | qt/qtbase | Status: MERGED | +2 | 0 |
577162,2 | Add documentation for the QT_NO_UTF8_SOURCE property | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
577296,2 | Add the note about the runtime encoding in the QString-like classes and QT_NO_UTF8_SOURCE | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
577565,2 | Add documentation for the QT_NO_UTF8_SOURCE property | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |