summaryrefslogtreecommitdiffstats
path: root/qmake/doc/src/qmake-manual.qdoc
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-05-07 16:32:18 +0200
committerLars Knoll <lars.knoll@qt.io>2020-05-14 19:14:51 +0200
commitb4fd377aa984defea63ecb8951c152872202146e (patch)
tree18aa45156dce81faf4aebb83a36a58ec5198f763 /qmake/doc/src/qmake-manual.qdoc
parent9e1dc1e8a9fda1a7576cc6377c8a36decff631eb (diff)
Make utf8_source the default for qmake builds
We now assume that source code is encoded in UTF-8 by default on all platforms (and verify this with an auto test). Provide a CONFIG+=no_utf8_source option for backwards compatibility. [ChangeLog][qmake] qmake will tell the compiler that source code is encoded in utf-8 by default. This mainly has an effect on Windows, where MSVC still assumes source code is encoded in the current ANSI code page. Use CONFIG+=no_utf8_source to get back the Qt 5 behavior. Change-Id: I6dcafcaeefdea7d3907ccb723aeb7d23ccc0f04f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qmake/doc/src/qmake-manual.qdoc')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index 490d747f1b..16ed37c018 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -1147,8 +1147,8 @@
default is used.
\row \li thread \li Thread support is enabled. This is enabled when CONFIG
includes \c qt, which is the default.
- \row \li utf8_source \li Specifies that the project's source files use the
- UTF-8 encoding. By default, the compiler default is used.
+ \row \li no_utf8_source \li Specifies that the project's source files does not use
+ the UTF-8 encoding. Instead, the compiler default is used.
\row \li hide_symbols \li Set the default visibility of symbols in the binary
to hidden. By default, the compiler default is used.
\row \li c99 \li C99 support is enabled. This option has no effect if