2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2020-02-04 10:47:39 +00:00
|
|
|
if(QT_FEATURE_private_tests)
|
2018-10-24 13:20:27 +00:00
|
|
|
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)
|
Reactivate QGraphics(Proxy)Widget unit tests
They were de-facto disabled in the qmake build system, and didn't make
it into the cmake build system either. The dependency to the fusion
style is not a build-time dependency since the test uses the
QStyleFactory to create the style, and if that fails, tests can be
skipped at runtime.
As a consequence of not being executed in CI for a long time, many
tests failed. Also, many tests were commented out or skipped as
broken, ambivalent, or nonsensical. Remove that dead code. The
QGraphicsWidget::initialShow test doesn't test anything that initialShow2
doesn't test, but makes incorrect assumptions, so remove it and rename
initialShow2 to initialShow.
Failing tests frequently left QWidget objects undeleted, causing all
subsequent tests to fails as well. Fix that with std::unique_ptr.
Some tests are still unstable and fail on some platforms, handle that
using QEXPECT_FAIL. The forwardTouchEvent test fails due to a bug
in Qt introduced recently. Skipping it for now.
Pick-to: 6.2
Change-Id: I405122ea9d4d150bd1d505d40b83fe39604de0f9
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2021-08-24 15:15:59 +00:00
|
|
|
add_subdirectory(qgraphicsproxywidget)
|
|
|
|
add_subdirectory(qgraphicswidget)
|
2022-02-22 13:49:04 +00:00
|
|
|
add_subdirectory(qgraphicsview)
|