summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-04-17 13:03:07 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-17 13:03:07 +0200
commitae721233f53276bbb5f731ab975e10b2d366872f (patch)
tree7e84c1ba9953fdb6849d5343afbafe900abdcc41 /example
parent528d134f77ff3a607d3a10ff45f824c12d77af23 (diff)
Some more init code and figure out debug vs. release for the example linkage
Diffstat (limited to 'example')
-rw-r--r--example/example.pro8
1 files changed, 4 insertions, 4 deletions
diff --git a/example/example.pro b/example/example.pro
index 287780d6b..6fd03b75e 100644
--- a/example/example.pro
+++ b/example/example.pro
@@ -5,8 +5,8 @@ SOURCES = main.cpp
INCLUDEPATH += ../lib
-LIBS += -L../out/Release/lib -lblinq
+CONFIG(debug, debug|release): LIBPATH = ../out/Debug/lib
+else: LIBPATH = ../out/Release/lib
-#QT += widgets
-
-QMAKE_RPATHDIR += ../out/Release/lib
+LIBS += -L$$LIBPATH -lblinq
+QMAKE_RPATHDIR += $$LIBPATH