From 318dacda750ba2358574c627c4f051f63622d61b Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sun, 23 May 2021 17:18:51 +0200 Subject: [PATCH] Remove compiler flags already defined in extra-cmake-modules -DQT_NO_FOREACH GIT_SILENT --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e70b0f..51c4526 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,6 @@ if(KIMAGEFORMATS_HEIF) endif() add_feature_info(LibHeif LibHeif_FOUND "required for the QImage plugin for HEIF/HEIC images") -add_definitions(-DQT_NO_FOREACH) # 050d00 (5.13) triggers a BIC in qimageiohandler.h, in Qt 5.13, so do not enable that until we can require 5.14 # https://codereview.qt-project.org/c/qt/qtbase/+/279215 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00)