diff options
Diffstat (limited to 'examples/sensors/grue/lib')
-rw-r--r-- | examples/sensors/grue/lib/lib.pri | 6 | ||||
-rw-r--r-- | examples/sensors/grue/lib/lib.pro | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/examples/sensors/grue/lib/lib.pri b/examples/sensors/grue/lib/lib.pri new file mode 100644 index 0000000..0e3da25 --- /dev/null +++ b/examples/sensors/grue/lib/lib.pri @@ -0,0 +1,6 @@ +INCLUDEPATH += $$PWD + +macos: LIBS += -L$$OUT_PWD/../grue_app.app/Contents/Frameworks +else: LIBS += -L$$OUT_PWD/.. + +LIBS += -lgruesensor diff --git a/examples/sensors/grue/lib/lib.pro b/examples/sensors/grue/lib/lib.pro index 6106f9e..cc10e5c 100644 --- a/examples/sensors/grue/lib/lib.pro +++ b/examples/sensors/grue/lib/lib.pro @@ -1,7 +1,10 @@ TEMPLATE = lib TARGET = gruesensor -DESTDIR = $$OUT_PWD/.. +macos: DESTDIR = ../grue_app.app/Contents/Frameworks +else: DESTDIR = $$OUT_PWD/.. + +macos: QMAKE_SONAME_PREFIX = @rpath DEFINES *= QT_BUILD_GRUE_LIB QT = core sensors |