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