diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-05-12 16:23:15 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-05-16 19:11:11 +0200 |
commit | c33427240f1e7e99a36d4c8fff19975ebe508839 (patch) | |
tree | 083813685b2e8a4175178542b7ad59b54956c4a3 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp | |
parent | b7c15f7f24c1f0afcea87b31d3b4e096149c9e7d (diff) | |
download | qtbase-c33427240f1e7e99a36d4c8fff19975ebe508839.tar.gz |
Make sure that -utf-8 flag only apply to MSVC
INTERFACE scope propagates the '-utf-8' flag to the target dependencies.
So if Qt is built using MSVC, but the depending targets use different
compiler this flag will break the compilation.
Guard the flag using genex.
Amends e3cc2487ce63cae42d8054b38fdb54abe8545007
Pick-to: 6.5
Task-number: QTBUG-112737
Change-Id: Ie0576667108820dd61035debfc1fcc030ef3536a
Reviewed-by: Lars Schmertmann <lars.schmertmann@governikus.de>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions