aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-12 22:07:35 +0100
committerStephen Kelly <steveire@gmail.com>2012-12-12 22:07:35 +0100
commit7a8fe1c16d1f57a8e6383524cdf960369b9e33bd (patch)
tree63815304dbf4aa5dd2b9d2bce6b154f454580335
parentcf60630918a34da3b540900084b729cac4ce3692 (diff)
downloadextra-cmake-modules-7a8fe1c16d1f57a8e6383524cdf960369b9e33bd.tar.gz
extra-cmake-modules-7a8fe1c16d1f57a8e6383524cdf960369b9e33bd.tar.bz2
Enable all deprecated API.
-rw-r--r--modules/ECMQt4To5Porting.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ECMQt4To5Porting.cmake b/modules/ECMQt4To5Porting.cmake
index 81460442..02b0ef4e 100644
--- a/modules/ECMQt4To5Porting.cmake
+++ b/modules/ECMQt4To5Porting.cmake
@@ -203,6 +203,8 @@ if (TARGET Qt5::qdbusxml2cpp)
get_target_property(QT_QDBUSXML2CPP_EXECUTABLE Qt5::qdbusxml2cpp LOCATION)
endif()
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0)
+
macro(qt4_wrap_ui)
qt5_wrap_ui(${ARGN})
endmacro()