summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/graphicsview
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-03-17 15:39:14 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2020-03-18 15:44:06 +0100
commit0eb93886aedcc51eab5a964a6463500b78697aa8 (patch)
tree101752f702c03cd0ee7af8fd989908aa54b2732f /tests/auto/widgets/graphicsview
parent272ddbee70932a055d7851b388a3f946d581a103 (diff)
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 <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/widgets/graphicsview')
-rw-r--r--tests/auto/widgets/graphicsview/CMakeLists.txt13
1 files 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)