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

List:       kde-commits
Subject:    [kcmutils] /: MAke sure to build with strict compile flags
From:       Laurent Montel <null () kde ! org>
Date:       2018-09-13 6:56:07
Message-ID: E1g0LXr-0007qi-EL () code ! kde ! org
[Download RAW message or body]

Git commit 930fe1ae11206a0de9932b1c3af5ffd266a2fd3b by Laurent Montel.
Committed on 13/09/2018 at 06:55.
Pushed by mlaurent into branch 'master'.

MAke sure to build with strict compile flags

M  +6    -0    CMakeLists.txt

https://commits.kde.org/kcmutils/930fe1ae11206a0de9932b1c3af5ffd266a2fd3b

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a66684..2dd0e7c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,6 +53,12 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kcmutils5\")
 if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
     ki18n_install(po)
 endif()
+
+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_subdirectory(src)
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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