diff options
author | Balazs Egedi <egedib@inf.u-szeged.hu> | 2021-06-01 17:57:04 +0200 |
---|---|---|
committer | Balazs Egedi <egedib@inf.u-szeged.hu> | 2021-06-23 15:40:27 +0200 |
commit | d65c2dc52f758657cce4617517d11cbd1912a4ed (patch) | |
tree | 3f0d0ea2d9cbe34ab17d2102704d318930b046d3 /tests/auto/quick/qmltests/CMakeLists.txt | |
parent | dcaa369bc1659a28b8de4c9d619c72c485e72274 (diff) |
Add mock Menu UIDelegates for Quick Controls 2
Menu and MenuItem are added to Controls2Delegates.
contextMenu auto test now works without any Quick Controls.
Task-number: QTBUG-93666
Change-Id: Ia2fdaef3456a44cc8792ed4e26c1c13bfee7858e
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tests/auto/quick/qmltests/CMakeLists.txt')
-rw-r--r-- | tests/auto/quick/qmltests/CMakeLists.txt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/auto/quick/qmltests/CMakeLists.txt b/tests/auto/quick/qmltests/CMakeLists.txt index a05cd9fd3..0d3b973bc 100644 --- a/tests/auto/quick/qmltests/CMakeLists.txt +++ b/tests/auto/quick/qmltests/CMakeLists.txt @@ -15,6 +15,7 @@ set(testList tst_action.qml tst_activeFocusOnPress.qml tst_audioMuted.qml + tst_contextMenu.qml tst_desktopBehaviorLoadHtml.qml tst_download.qml tst_favicon.qml @@ -66,14 +67,6 @@ if(QT_FEATURE_webenginequick_testsupport) ) endif() -if(TARGET Qt::QuickControls) #FIXME - list(APPEND testList - tst_contextMenu.qml - ) -else() - message("\n!!!! QuickControls target is missing, some tests are not executed !!! FIXME \n") -endif() - set(content "") foreach(test ${testList}) set(contents "${contents}${CMAKE_CURRENT_LIST_DIR}/data/${test}\n") |