From 8931f4fe5f0f7420d66e92375583293f0b364543 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Fri, 1 Nov 2019 10:40:29 +0100 Subject: [PATCH] cmake: fix tests/auto/gui/kernel/qguieventloop The include does not join the required libraries. When building the tests in a separate build directory this works for some reason (that's why the CI doesn't catch it). Building everything top level breaks though. Considering this happens in maybe two places, I'm not sure it's worth the effort of fixing the porting scripts. Change-Id: I104ab9717257cbe8dfd5112dffd0d0b002cdb09e Reviewed-by: Alexandru Croitor Reviewed-by: Qt CMake Build Bot --- tests/auto/gui/kernel/qguieventloop/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt index f7f83420caa..7ac5cdc3434 100644 --- a/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt +++ b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt @@ -8,8 +8,11 @@ add_qt_test(tst_qguieventloop GUI SOURCES ../../../corelib/kernel/qeventloop/tst_qeventloop.cpp + LIBRARIES # special case + Qt::CorePrivate # special case PUBLIC_LIBRARIES Qt::Gui + Qt::Network # special case ) ## Scopes: