From ebaceac469f19c51da390c7028d28e17ef991df4 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 28 Aug 2018 12:51:09 +0200 Subject: PySide2: Replace macro check_qt_class by the Qt configure system Query the feature properties of the configure system to check whether a class is present instead of running a compile test in QtGui and QtNetwork. Remove the macro invocation from QtWigets since the results (QtWidgets_OPTIONAL_SRC, QtWidgets_DROPPED_ENTRIES) were not used. Change-Id: I06e03fe1eef85f2340ab4cdb130b8b31b08f7f14 Reviewed-by: Christian Tismer --- sources/pyside2/PySide2/QtWidgets/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sources/pyside2/PySide2/QtWidgets/CMakeLists.txt') diff --git a/sources/pyside2/PySide2/QtWidgets/CMakeLists.txt b/sources/pyside2/PySide2/QtWidgets/CMakeLists.txt index dee79744f..6b8830a41 100644 --- a/sources/pyside2/PySide2/QtWidgets/CMakeLists.txt +++ b/sources/pyside2/PySide2/QtWidgets/CMakeLists.txt @@ -1,12 +1,5 @@ project(QtWidgets) - -set(QtWidgets_OPTIONAL_SRC ) -set(QtWidgets_DROPPED_ENTRIES ) -## XXX check if these conditionals need to be done elsewhere -check_qt_class(QtWidgets QGtkStyle QtWidgets_OPTIONAL_SRC QtWidgets_DROPPED_ENTRIES) -check_qt_class(QtWidgets QMacStyle QtWidgets_OPTIONAL_SRC QtWidgets_DROPPED_ENTRIES) - set(QtWidgets_SRC ${QtWidgets_GEN_DIR}/qaccessiblewidget_wrapper.cpp ${QtWidgets_GEN_DIR}/qabstractbutton_wrapper.cpp -- cgit v1.2.3