qt5base-lts/tests/auto/dbus/qdbusinterface
Alexandru Croitor 0efe6fc90f Don't link against dbus-1_nolink when dbus_linked feature is off
dbus1_linked is only evaluated to true when the dbus package is found.
If it was not found, then it makes no sense to link against the
_nolink target, because no package was found in the first place.

When the package is not found, QtDBus uses a minimal dbus header which
is included with QtDBus sources, so there is no need for the _nolink
target.

This amends cc141cc5c6 and fixes a build
failure on macOS.

Change-Id: I71dcbb7465ad13b0bf03579f51412c373125caba
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-05-08 12:32:53 +00:00
..
qdbusinterface cmake: Enable qdbusinterface test 2019-01-31 09:45:38 +00:00
qmyserver cmake: we need two different qmyserver names 2019-02-11 11:07:38 +00:00
.gitignore Moved dbus autotests into new directory structure 2011-09-01 09:37:08 +02:00
CMakeLists.txt Don't link against dbus-1_nolink when dbus_linked feature is off 2019-05-08 12:32:53 +00:00
myobject.h Updated license headers 2016-01-21 18:55:18 +00:00
qdbusinterface.pro Use dependencies instead of CONFIG+=ordered 2017-12-02 11:09:15 +00:00
tst_qdbusinterface.cpp cmake: we need two different qmyserver names 2019-02-11 11:07:38 +00:00