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

List:       kde-commits
Subject:    [extra-cmake-modules] kde-modules: Add QT_NO_NARROWING_CONVERSIONS_IN_CONNECT as default compile fla
From:       Laurent Montel <null () kde ! org>
Date:       2018-09-22 17:07:37
Message-ID: E1g3lNZ-0006TY-Ck () code ! kde ! org
[Download RAW message or body]

Git commit 9b528012703ae584e80a4954df153091a1443be9 by Laurent Montel.
Committed on 22/09/2018 at 17:07.
Pushed by mlaurent into branch 'master'.

Add QT_NO_NARROWING_CONVERSIONS_IN_CONNECT as default compile flags

Summary: Use QT_NO_NARROWING_CONVERSIONS_IN_CONNECT as default flags

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D15566

M  +1    -0    kde-modules/KDEFrameworkCompilerSettings.cmake

https://commits.kde.org/extra-cmake-modules/9b528012703ae584e80a4954df15309=
1a1443be9

diff --git a/kde-modules/KDEFrameworkCompilerSettings.cmake b/kde-modules/K=
DEFrameworkCompilerSettings.cmake
index 6a82f75..1d3e1f7 100644
--- a/kde-modules/KDEFrameworkCompilerSettings.cmake
+++ b/kde-modules/KDEFrameworkCompilerSettings.cmake
@@ -54,6 +54,7 @@ add_definitions(-DQT_NO_CAST_TO_ASCII
                 -DQT_NO_CAST_FROM_BYTEARRAY
                 -DQT_NO_SIGNALS_SLOTS_KEYWORDS
                 -DQT_USE_QSTRINGBUILDER
+                -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
                )
 =

 if (CMAKE_BUILD_TYPE STREQUAL "Debug")
[prev in list] [next in list] [prev in thread] [next in thread] 

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