1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 21:40:15 +08:00

QtDialog: remove Qt4 definition

This commit is contained in:
Ben Boeckel
2020-06-01 11:40:01 -04:00
parent ce9dbceb42
commit 4037beb747

View File

@@ -16,9 +16,6 @@ if(WIN32)
endif() endif()
endif() endif()
# Remove this when the minimum version of Qt is 4.6.
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
if(CMake_QT_STATIC_QXcbIntegrationPlugin_LIBRARIES) if(CMake_QT_STATIC_QXcbIntegrationPlugin_LIBRARIES)