From a8363854eec6a53e8f49736e3a257a28790bf498 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 23 Feb 2025 14:08:52 +0000 Subject: [PATCH] CMake: disable Qt deprecation warnings we can't fix --- Source/Core/DolphinQt/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 59a3139ca3..38d481cdf9 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -412,6 +412,9 @@ PRIVATE -DQT_USE_QSTRINGBUILDER -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII + # This Qt version should match Externals/Qt. + # It disables deprecation warnings we can't fix yet. + -DQT_WARN_DEPRECATED_UP_TO=0x060501 ) target_include_directories(dolphin-emu