diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-08-28 12:51:09 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-10-01 09:11:39 +0000 |
commit | ebaceac469f19c51da390c7028d28e17ef991df4 (patch) | |
tree | 07e2ea02a5e45bae23201d890a8086279207cf41 /sources/pyside2/PySide2/QtWidgets | |
parent | 2f548c62d50b49e193c9f7575fa6a4601b697609 (diff) |
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 <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/QtWidgets')
-rw-r--r-- | sources/pyside2/PySide2/QtWidgets/CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
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 |