remove the dependency to QT_BUILD_TREE
authorJing Bai <jing.bai@digia.com>
Wed, 28 Nov 2012 16:01:13 +0000 (17:01 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 29 Nov 2012 19:20:14 +0000 (20:20 +0100)
To fix a build problem when plugandpaint is not built with qt src.
QT_BUILD_TREE is not set in this case. We use a relative path instead.

Task-number: QTBUG-28261
Change-Id: I2456614070f0849ba9400fbe4b76172189e3925f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
examples/widgets/tools/plugandpaint/plugandpaint.pro

index 2c8c511..cbf573d 100644 (file)
@@ -8,7 +8,7 @@ SOURCES        = main.cpp \
                  paintarea.cpp \
                  plugindialog.cpp
 
-LIBS           = -L$${QT_BUILD_TREE}/examples/widgets/tools/plugandpaint/plugins -lpnp_basictools
+LIBS           = -Lplugins -lpnp_basictools
 
 if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
    mac:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)_debug