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
|
||
|---|---|---|
| .. | ||
| qdbusinterface | ||
| qmyserver | ||
| .gitignore | ||
| CMakeLists.txt | ||
| myobject.h | ||
| qdbusinterface.pro | ||
| tst_qdbusinterface.cpp | ||