From 2b0e211bc9db2706705be53c162cd7c1a4b64954 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Sat, 2 Apr 2016 03:43:52 +0300 Subject: [PATCH] $$QMAKE_COPY --> $$QMAKE_COPY_DIR --- demo_r1/demo_r1.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo_r1/demo_r1.pro b/demo_r1/demo_r1.pro index 0854a1a..1186599 100644 --- a/demo_r1/demo_r1.pro +++ b/demo_r1/demo_r1.pro @@ -28,7 +28,7 @@ RESOURCES += \ EXTRA_DIR += $$PWD/demo_reports DEST_DIR = $${BUILD_DIR}/$${BUILD_TYPE}/demo -REPORTS_DIR = $${DEST_DIR}/demo_reports +REPORTS_DIR = $${DEST_DIR} unix:{ LIBS += -L$${BUILD_DIR}/$${BUILD_TYPE}/lib -llimereport @@ -36,7 +36,7 @@ unix:{ LIBS += -L$${BUILD_DIR}/$${BUILD_TYPE}/lib -lQtZint } DESTDIR = $$DEST_DIR - QMAKE_POST_LINK += mkdir -p $$quote($$REPORTS_DIR) | $$QMAKE_COPY $$quote($$EXTRA_DIR)/* $$quote($$REPORTS_DIR) $$escape_expand(\n\t) + QMAKE_POST_LINK += mkdir -p $$quote($$REPORTS_DIR) | $$QMAKE_COPY_DIR $$quote($$EXTRA_DIR) $$quote($$REPORTS_DIR) $$escape_expand(\n\t) linux{ #Link share lib to ../lib rpath QMAKE_LFLAGS += -Wl,--rpath=\\\$\$ORIGIN