summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 3ea7b55d0..3dc0e47d0 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -159,6 +159,15 @@ target_compile_definitions(yuzu PRIVATE
159 # Disable implicit conversions from/to C strings 159 # Disable implicit conversions from/to C strings
160 -DQT_NO_CAST_FROM_ASCII 160 -DQT_NO_CAST_FROM_ASCII
161 -DQT_NO_CAST_TO_ASCII 161 -DQT_NO_CAST_TO_ASCII
162
163 # Disable implicit type narrowing in signal/slot connect() calls.
164 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
165
166 # Disable unsafe overloads of QProcess' start() function.
167 -DQT_NO_PROCESS_COMBINED_ARGUMENT_START
168
169 # Disable implicit QString->QUrl conversions to enforce use of proper resolving functions.
170 -DQT_NO_URL_CAST_FROM_STRING
162) 171)
163 172
164if (YUZU_ENABLE_COMPATIBILITY_REPORTING) 173if (YUZU_ENABLE_COMPATIBILITY_REPORTING)