qt5base-lts/tests/auto
Alexandru Croitor c51fe841f4 Fix handling of _nolink targets for the QtNetwork module
When a _nolink target is exported, instead of getting the original
namespace prefix, it gets the Qt6 prefix
(OpenSSL::OpenSSL_nolink -> Qt6::OpenSSL_nolink).

There is some special case code in Network autotests which tries
to access the former target name, which doesn't exist when building
standalone tests.

Make sure to create a Qt6:: library alias for _nolink targets during a
build (so before the library is exported), and change the Network
autotests project to use this Qt6:: namespaced library, which will
ensure it is found both in a standalone tests build and in a regular
Qt build.

Also make sure to actually call find_package to find the OpenSSL
library when building standalone tests, otherwise configuration will
fail.

Change-Id: I3da5b958e72e745a50380f8ab1644459a7c6b005
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-11-08 15:09:54 +00:00
..
bic/data Add binary compatibility files for Qt5.13.0 for QtBase 2019-08-15 04:19:39 +00:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Merge branch 'wip/qt6' into wip/cmake 2019-08-15 16:53:19 +02:00
corelib Distinguish between qt_plugin and regular plugins 2019-10-28 09:20:37 +00:00
dbus Regenerate tests that use helper processes 2019-08-23 09:25:27 +00:00
gui Convert remaining gui utils tests 2019-11-04 13:36:46 +00:00
guiapplauncher
installed_cmake
network Fix handling of _nolink targets for the QtNetwork module 2019-11-08 15:09:54 +00:00
opengl Merge remote-tracking branch 'origin/wip/qt6' into wip/cmake 2019-10-11 16:23:19 +02:00
other Convert tests/auto/other 2019-10-28 12:19:50 +00:00
printsupport Merge branch 'wip/qt6' into wip/cmake 2019-08-15 16:53:19 +02:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-10-14 17:46:34 +02:00
testlib Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-10-14 17:46:34 +02:00
tools Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-10-14 17:46:34 +02:00
widgets cmake: add widgets/kernel tests 2019-10-31 09:49:03 +00:00
xml Add XML tests 2019-10-10 09:02:43 +00:00
auto.pro Disable tests with qemu-arm & developer-build configurations in the CI 2019-10-03 15:12:33 +00:00
CMakeLists.txt Convert tests/auto/other 2019-10-28 12:19:50 +00:00
network-settings.h test: migrate QNetworkReply test to QRegularExpression 2019-06-10 16:49:19 +02:00