From 12dcab77a7248268c58c2c5431c2c237e14d1089 Mon Sep 17 00:00:00 2001 From: Jing Bai Date: Wed, 28 Nov 2012 17:01:13 +0100 Subject: remove the dependency to QT_BUILD_TREE 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 Reviewed-by: Oswald Buddenhagen --- examples/widgets/tools/plugandpaint/plugandpaint.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/widgets/tools/plugandpaint/plugandpaint.pro') diff --git a/examples/widgets/tools/plugandpaint/plugandpaint.pro b/examples/widgets/tools/plugandpaint/plugandpaint.pro index 2c8c5117ee..cbf573dd4b 100644 --- a/examples/widgets/tools/plugandpaint/plugandpaint.pro +++ b/examples/widgets/tools/plugandpaint/plugandpaint.pro @@ -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 -- cgit v1.2.3