[utilities/konsole] /: Drop duplicated Modern Qt macro flags

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 071528d9d89b9e8e21b47fe26124fb6b69f710f1 by Friedrich W. H. Kossebau.
Committed on 05/08/2026 at 16:59.
Pushed by kossebau into branch 'master'.

Drop duplicated Modern Qt macro flags

Already set by KDE_COMPILERSETTINGS_LEVEL >= 5.85

M  +0    -7    CMakeLists.txt

https://invent.kde.org/utilities/konsole/-/commit/071528d9d89b9e8e21b47fe26124fb6b69f710f1

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c36722939..f0dcbbc55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,13 +129,6 @@ check_symbol_exists(getpwuid "pwd.h" HAVE_GETPWUID)
 
 check_function_exists(malloc_trim HAVE_MALLOC_TRIM)
 
-# See above includes for defaults
-add_definitions(
-  -DQT_NO_FOREACH
-  -DQT_STRICT_ITERATORS
-  -DQT_NO_URL_CAST_FROM_STRING
-)
-
 set(CMAKE_CXX_STANDARD 17)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 set(CMAKE_CXX_EXTENSIONS OFF)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.