aboutsummaryrefslogtreecommitdiff
path: root/examples/common.pri
diff options
context:
space:
mode:
authorHolger Schröder <holger.schroeder.ext@basyskom.de>2010-10-25 14:53:32 +0200
committerHolger Schröder <holger.schroeder.ext@basyskom.de>2010-10-27 11:40:16 +0200
commitcd0fe335580d388343e805aa9c9b17eeb17cb524 (patch)
tree846e6d1ea9f0372bcfbf7fe873bb43dedb815045 /examples/common.pri
parent2250a5c1bce2d16b7c0c2add96e302a054c7beb3 (diff)
Changes: add mAddLibrary function, use it in .pro files
RevBy: Armin, Mirek Details: To simplify addition of a link library to a project for the different platforms, we need this function. Initial patch by Thierry Bastian.
Diffstat (limited to 'examples/common.pri')
-rw-r--r--examples/common.pri8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/common.pri b/examples/common.pri
index 1e594c78..573e1309 100644
--- a/examples/common.pri
+++ b/examples/common.pri
@@ -1,6 +1,8 @@
-INCLUDEPATH += ../../src/include
-QMAKE_LIBDIR += ../../lib/
-LIBS += -lmeegotouchcore
+include( ../mkspecs/common.pri )
+
+INCLUDEPATH += $$M_SOURCE_TREE/src/include
+
+LIBS += $$mAddLibrary(meegotouchcore)
DEPENDPATH += .
INCLUDEPATH += .