2e340cea88
qt6_android_generate_deployment_settings is implicitly used by qt6_add_executable in user projects. This test makes sure that the function behaves as expected for user projects specificly, since in Qt tests it behaves differently because of Qt-specific conditions inside. Task-number: QTBUG-116037 Pick-to: 6.6 Change-Id: Iea10eca7a780ebaff0c05b91ebe47b821b9ec956 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
53 lines
1.6 KiB
CMake
53 lines
1.6 KiB
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
if(NOT CMAKE_CROSSCOMPILING)
|
|
# add_subdirectory(atwrapper) <- does not exist
|
|
endif()
|
|
if(TARGET Qt::Widgets)
|
|
add_subdirectory(gestures)
|
|
add_subdirectory(languagechange)
|
|
add_subdirectory(qfocusevent)
|
|
add_subdirectory(qsharedpointer_and_qwidget)
|
|
# add_subdirectory(windowsmobile) <- does not exist
|
|
endif()
|
|
if(TARGET Qt::Network AND TARGET Qt::Widgets)
|
|
add_subdirectory(qnetworkaccessmanager_and_qprogressdialog)
|
|
endif()
|
|
if(MACOS AND TARGET Qt::Gui AND TARGET Qt::Widgets)
|
|
add_subdirectory(macgui)
|
|
add_subdirectory(macplist)
|
|
add_subdirectory(qaccessibilitymac)
|
|
endif()
|
|
if(TARGET Qt::Network)
|
|
add_subdirectory(networkselftest)
|
|
endif()
|
|
if(QT_FEATURE_accessibility AND TARGET Qt::Gui AND TARGET Qt::Widgets)
|
|
add_subdirectory(qaccessibility)
|
|
endif()
|
|
if(TARGET Qt::Gui)
|
|
add_subdirectory(qcomplextext)
|
|
endif()
|
|
add_subdirectory(qobjectrace)
|
|
add_subdirectory(toolsupport)
|
|
# QTBUG-87670
|
|
if(QT_FEATURE_process AND TARGET Qt::Gui AND NOT ANDROID)
|
|
add_subdirectory(qprocess_and_guieventloop)
|
|
endif()
|
|
if(QT_FEATURE_accessibility_atspi_bridge AND TARGET Qt::Gui AND TARGET Qt::Widgets)
|
|
#add_subdirectory(qaccessibilitylinux) # TODO: This test is broken
|
|
endif()
|
|
if(MACOS AND TARGET Qt::Gui)
|
|
# add_subdirectory(macnativeevents) # TODO: it's disabled in qmake too
|
|
endif()
|
|
if(embedded)
|
|
add_subdirectory(qdirectpainter)
|
|
endif()
|
|
if(QT_FEATURE_xkbcommon AND TARGET Qt::Gui)
|
|
add_subdirectory(xkbkeyboard)
|
|
endif()
|
|
|
|
if(ANDROID)
|
|
add_subdirectory(android_deployment_settings)
|
|
endif()
|