summaryrefslogtreecommitdiff
path: root/examples/sensors/grue/lib/lib.pro
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-06-19 15:47:09 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-20 01:56:15 +0200
commitb2e97817684f40ab9353fa279a4c02ef9c12e13d (patch)
treeb7c7114b555539de9e1bc5a1bd1ed5afeed777bb /examples/sensors/grue/lib/lib.pro
parent5e89b386f4aae5a4953c725b6aab565b21a3330f (diff)
downloadqtsensors-b2e97817684f40ab9353fa279a4c02ef9c12e13d.tar.gz
Remove the 'special' naming of examples.
Just go back to the naming convention we had before. Change-Id: Iefecb7a5e0ab3aa4d22267b4f475a8e9c1c96058 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'examples/sensors/grue/lib/lib.pro')
-rw-r--r--examples/sensors/grue/lib/lib.pro27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/sensors/grue/lib/lib.pro b/examples/sensors/grue/lib/lib.pro
new file mode 100644
index 0000000..e048e60
--- /dev/null
+++ b/examples/sensors/grue/lib/lib.pro
@@ -0,0 +1,27 @@
+TEMPLATE = lib
+TARGET = gruesensor
+
+# avoid going to release/debug subdirectory
+win32:DESTDIR = $$OUT_PWD
+
+DEFINES *= QT_BUILD_GRUE_LIB
+QT = core sensors
+
+HEADERS += gruesensor.h\
+ gruesensor_p.h\
+
+SOURCES += gruesensor.cpp\
+
+target.path=$$[QT_INSTALL_LIBS]
+INSTALLS += target
+
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
+!isEmpty(EXAMPLES_PREFIX) {
+ target.path = $$EXAMPLES_PREFIX/com.nokia.mt.grue/lib
+ remove_so.commands = "rm $(INSTALL_ROOT)$${target.path}/lib$${TARGET}.so"
+ remove_so.CONFIG = no_path
+ remove_so.depends = install_target
+ INSTALLS += remove_so
+}
+