CONFIG += testcase
QT = core testlib dbus
INCLUDEPATH += ../lib ../
LIBS += -L ../lib -lofono-qt

target.path = $$[QT_INSTALL_PREFIX]/opt/tests/libofono-qt/
INSTALLS += target

CONFIG += testcase
QT = core testlib dbus
INCLUDEPATH += ../lib ../
QMAKE_LFLAGS += -L ../lib -lofono-qt

target.path = $$[QT_INSTALL_PREFIX]/opt/tests/libofono-qt/
INSTALLS += target

Use QMAKE_LFLAGS to make sure we link to the libofono-qt under test
[libofono-qt] Use QMAKE_LFLAGS to make sure we link to the libofono-qt under test

This prevents us from accidentally linking against a system copy.

This won't protect us from running the tests against a system copy, for that we
need LD_LIBRARY_PATH or rpath, but this will at least result in successful and
proper builds.
