diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-08-22 08:23:38 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-08-22 16:01:09 +0200 |
commit | 6fef0662cb82489533be3308963d08e4f74f8412 (patch) | |
tree | 08773207c6398dfa3121644ed872685b69479138 /tests | |
parent | 0183fa1a97d55e9b1a2d4452334deba08721c813 (diff) |
Examples test: Clean up CMakeLists.txt
Pick-to: 6.6 6.5
Change-Id: I22037de62041351d6aecbae86643f8e8f39b0361
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/examples/CMakeLists.txt | 22 | ||||
-rw-r--r-- | tests/auto/quick/examples/tst_examples.cpp | 8 |
2 files changed, 1 insertions, 29 deletions
diff --git a/tests/auto/quick/examples/CMakeLists.txt b/tests/auto/quick/examples/CMakeLists.txt index bd0b9283d..d81e5ed30 100644 --- a/tests/auto/quick/examples/CMakeLists.txt +++ b/tests/auto/quick/examples/CMakeLists.txt @@ -1,12 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from examples.pro. - -##################################################################### -## tst_examples Test: -##################################################################### - if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) cmake_minimum_required(VERSION 3.16) project(tst_examples LANGUAGES CXX) @@ -19,20 +13,6 @@ qt_internal_add_test(tst_examples DEFINES SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" LIBRARIES - Qt6::CorePrivate Qt6::Gui - Qt6::GuiPrivate - Qt6::QmlPrivate - Qt6::QuickPrivate -) - -#### Keys ignored in scope 1:.:.:examples.pro:<TRUE>: -# testcase.timeout = "400" - -## Scopes: -##################################################################### - -qt_internal_extend_target(tst_examples CONDITION NOT TARGET Qt6::XmlPatterns - DEFINES - QT_NO_XMLPATTERNS + Qt6::Quick ) diff --git a/tests/auto/quick/examples/tst_examples.cpp b/tests/auto/quick/examples/tst_examples.cpp index f25a08c63..e81ea8383 100644 --- a/tests/auto/quick/examples/tst_examples.cpp +++ b/tests/auto/quick/examples/tst_examples.cpp @@ -68,14 +68,6 @@ tst_examples::tst_examples() excludedFiles << "examples/demos/robotarm/main.qml"; // relies on custom import excludedFiles << "examples/demos/FX_Material_Showroom/main.qml"; // relies on custom import -#ifdef QT_NO_XMLPATTERNS - excludedDirs << "demos/twitter"; - excludedDirs << "demos/flickr"; - excludedFiles << "snippets/qml/xmlrole.qml"; - excludedFiles << "particles/itemparticle/particleview.qml"; - excludedFiles << "views/visualdatamodel/slideshow.qml"; -#endif - #if !QT_CONFIG(opengl) //No support for Particles excludedFiles << "examples/qml/dynamicscene/dynamicscene.qml"; |