diff options
author | bunnei <bunneidev@gmail.com> | 2019-05-25 04:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 04:46:10 +0200 |
commit | e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875 (patch) | |
tree | 9124ac4c8bf2ad9768ea13301c7d541713414a24 /src/yuzu/CMakeLists.txt | |
parent | Merge pull request #2358 from ReinUsesLisp/parallel-shader (diff) | |
parent | yuzu/CMakeLists: Disable implicit QString conversions (diff) | |
download | yuzu-e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875.tar yuzu-e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875.tar.gz yuzu-e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875.tar.bz2 yuzu-e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875.tar.lz yuzu-e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875.tar.xz yuzu-e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875.tar.zst yuzu-e86d2e2e5bb1929b4c5f3f5f43e510f262bd8875.zip |
Diffstat (limited to 'src/yuzu/CMakeLists.txt')
-rw-r--r-- | src/yuzu/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 7e883991a..3ea7b55d0 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -155,6 +155,10 @@ target_compile_definitions(yuzu PRIVATE # Use QStringBuilder for string concatenation to reduce # the overall number of temporary strings created. -DQT_USE_QSTRINGBUILDER + + # Disable implicit conversions from/to C strings + -DQT_NO_CAST_FROM_ASCII + -DQT_NO_CAST_TO_ASCII ) if (YUZU_ENABLE_COMPATIBILITY_REPORTING) |