qt5base-lts/tests/auto/widgets/graphicsview/CMakeLists.txt
Leander Beernaert 0eb93886ae 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>
2020-03-18 15:44:06 +01:00

36 lines
1.3 KiB
CMake

# Generated from graphicsview.pro.
if(QT_FEATURE_private_tests)
add_subdirectory(qgraphicsanchorlayout)
add_subdirectory(qgraphicsanchorlayout1)
add_subdirectory(qgraphicsitem)
add_subdirectory(qgraphicsscene)
add_subdirectory(qgraphicssceneindex)
endif()
add_subdirectory(qgraphicseffectsource)
add_subdirectory(qgraphicsgridlayout)
add_subdirectory(qgraphicsitemanimation)
add_subdirectory(qgraphicslayout)
add_subdirectory(qgraphicslayoutitem)
add_subdirectory(qgraphicslinearlayout)
add_subdirectory(qgraphicsobject)
add_subdirectory(qgraphicspixmapitem)
add_subdirectory(qgraphicspolygonitem)
add_subdirectory(qgraphicstransform)
if(QT_FEATURE_style_fusion)
# 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)
endif()