[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kmail-account-wizard] /: USe KDEFrameworkCompilerSettings
From:       Laurent Montel <null () kde ! org>
Date:       2018-09-17 6:49:09
Message-ID: E1g1nLJ-0005xZ-Aw () code ! kde ! org
[Download RAW message or body]

Git commit ae76f65bec2bb14c019cb4303f62c11c4ac188a8 by Laurent Montel.
Committed on 17/09/2018 at 06:49.
Pushed by mlaurent into branch 'master'.

USe KDEFrameworkCompilerSettings

M  +1    -6    CMakeLists.txt

https://commits.kde.org/kmail-account-wizard/ae76f65bec2bb14c019cb4303f62c11c4ac188a8

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 32ce4a0..68c387c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,7 +23,7 @@ include(ECMGeneratePriFile)
 
 include(KDEInstallDirs)
 include(KDECMakeSettings)
-include(KDECompilerSettings NO_POLICY_SCOPE)
+include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
 include(ECMAddAppIcon)
 include(ECMQtDeclareLoggingCategory)
 include(ECMCoverageOption)
@@ -91,11 +91,6 @@ find_package(KF5NewStuff ${KF5_VERSION} CONFIG REQUIRED)
 set( SharedMimeInfo_MINIMUM_VERSION "1.3" )
 find_package(SharedMimeInfo ${SharedMimeInfo_MINIMUM_VERSION} REQUIRED)
 
-add_definitions(-DQT_NO_CAST_FROM_ASCII)
-add_definitions(-DQT_NO_CAST_TO_ASCII)
-add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
-add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
-add_definitions(-DQT_USE_QSTRINGBUILDER)
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
 
 # allow to disable GHNS support on resource-constrained systems
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic