summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2013-04-30 08:31:31 +0200
committerPierre Rossi <pierre.rossi@digia.com>2013-05-02 20:02:21 +0200
commit259a919a30cbdf867d7e2fef9c7e0ecf7056661e (patch)
tree2a66215985536c4ff924f5873a329a9ea861c832 /example
parent0a07a8e761ba628095e3301b7d7b671b87e49a0f (diff)
Define blinq_process path at compile time
This way we won't have to define the BLINQ_PROCESS_PATH environment variable except in the case where we want to override that value. Refactored some of the output dir logic in the process
Diffstat (limited to 'example')
-rw-r--r--example/example.pro3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/example.pro b/example/example.pro
index e126adff7..a12bd856f 100644
--- a/example/example.pro
+++ b/example/example.pro
@@ -5,8 +5,7 @@ SOURCES = main.cpp
INCLUDEPATH += ../lib
-CONFIG(debug, debug|release): LIBPATH = ../out/Debug/lib
-else: LIBPATH = ../out/Release/lib
+LIBPATH = $$getOutDir()
LIBS += -L$$LIBPATH -lblinq
QMAKE_RPATHDIR += $$LIBPATH