aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()