summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qmimedata
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@qt.io>2019-07-04 14:48:32 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-08-01 13:38:21 +0000
commit9e96c384261ca1329d3143295d013701eb85b186 (patch)
treef3c8cf74866174925ca748fd58c4b3c6759823d4 /tests/auto/corelib/kernel/qmimedata
parentb26b1455d75709a53f50e1d3d41c384f8e90b576 (diff)
Properly convert default QT directive
If unset QT by default has value: "core gui". This patch adds this behavior by pre-defining the value in the root scope. qmimedata CMakeList.txt was re-generated. Change-Id: Ib8b6064bc46c72d829e0077d09f21bbfb494e137 Reviewed-by: Qt CMake Build Bot Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'tests/auto/corelib/kernel/qmimedata')
-rw-r--r--tests/auto/corelib/kernel/qmimedata/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt b/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt
index dd1e049209..7b373d6e6a 100644
--- a/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt
+++ b/tests/auto/corelib/kernel/qmimedata/CMakeLists.txt
@@ -7,6 +7,8 @@
add_qt_test(tst_qmimedata
SOURCES
tst_qmimedata.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
)
#### Keys ignored in scope 1:.:.:qmimedata.pro:<TRUE>: