From 0eb93886aedcc51eab5a964a6463500b78697aa8 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Tue, 17 Mar 2020 15:39:14 +0100 Subject: CMake: Disable two graphicsview tests Disable tst_qgraphicsproxywidget and tst_qgraphicswiddget as they are never run in coin with the current .pro file. Change-Id: I562fa70e03f7c5e547c52507e3e41f4762c0382a Reviewed-by: Alexandru Croitor --- tests/auto/widgets/graphicsview/CMakeLists.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/auto/widgets/graphicsview/CMakeLists.txt b/tests/auto/widgets/graphicsview/CMakeLists.txt index 1f638bd806..be1ae7253a 100644 --- a/tests/auto/widgets/graphicsview/CMakeLists.txt +++ b/tests/auto/widgets/graphicsview/CMakeLists.txt @@ -18,8 +18,17 @@ add_subdirectory(qgraphicspixmapitem) add_subdirectory(qgraphicspolygonitem) add_subdirectory(qgraphicstransform) if(QT_FEATURE_style_fusion) - add_subdirectory(qgraphicsproxywidget) - add_subdirectory(qgraphicswidget) + # special case begin + # These tests are never run in coin with qmake since the statement + # !qtConfig(style-fusion): always passes causing the subdirs to be removed. + # For these tests to be generated the .pro file needs to be patched and + # the above line changed to !qtConfig(style-fusion). That being said, + # one of the test fails and needs to be corrected by someone with know how in + # that area. Until then we will disable them to mimic the behavior seen in + # coin. + #add_subdirectory(qgraphicsproxywidget) + #add_subdirectory(qgraphicswidget) + # special case end endif() if(NOT WINRT) add_subdirectory(qgraphicsview) -- cgit v1.2.3