From 8dd21fcb2c9f0366b3d298781c8a852363a4df22 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 23 May 2017 11:02:05 +0200 Subject: pysidetest_delegatecreateseditor_test: Add QtWidgets dependency The test was failing since the method TestView::setItemDelegate(QAbstractItemDelegate *) was rejected due to QAbstractItemDelegate being unknown. Fix by adding the dependency to QtWidgets. Task-number: PYSIDE-431 Change-Id: I65c3690eccfdd55b310f45d65a2b0d8c32bedd36 Reviewed-by: Christian Tismer --- sources/pyside2/tests/pysidetest/CMakeLists.txt | 2 +- sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sources') diff --git a/sources/pyside2/tests/pysidetest/CMakeLists.txt b/sources/pyside2/tests/pysidetest/CMakeLists.txt index 3a5437e62..0b1902ff0 100644 --- a/sources/pyside2/tests/pysidetest/CMakeLists.txt +++ b/sources/pyside2/tests/pysidetest/CMakeLists.txt @@ -98,7 +98,7 @@ target_link_libraries(testbinding ${Qt5Widgets_LIBRARIES} ${SBK_PYTHON_LIBRARIES}) -add_dependencies(testbinding pyside2 QtCore libpyside pysidetest) +add_dependencies(testbinding pyside2 QtCore QtGui QtWidgets libpyside pysidetest) PYSIDE_TEST(decoratedslot_test.py) PYSIDE_TEST(delegatecreateseditor_test.py) diff --git a/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml b/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml index 4053b7b77..7895e7147 100644 --- a/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml +++ b/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml @@ -1,6 +1,6 @@ - +