From cd0fe335580d388343e805aa9c9b17eeb17cb524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Schr=C3=B6der?= Date: Mon, 25 Oct 2010 14:53:32 +0200 Subject: 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. --- examples/common.pri | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'examples/common.pri') 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 += . -- cgit v1.2.3