From f45e67afe520dec5a552b521cf3d06b47dfc5e87 Mon Sep 17 00:00:00 2001 From: tianzhendong <1203886034@qq.com> Date: Wed, 17 May 2023 18:46:22 +0800 Subject: [PATCH] modify output path --- .gitignore | 3 +++ qcustomplot.pro | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 3890f85..0a70da4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ Build/ *.user *.dll *.a + +Makefile +lib*.so* \ No newline at end of file diff --git a/qcustomplot.pro b/qcustomplot.pro index 5d36790..c9f9fd7 100644 --- a/qcustomplot.pro +++ b/qcustomplot.pro @@ -11,11 +11,11 @@ CONFIG += c++17 # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 -DESTDIR = ./../ -MOC_DIR = ./moc -OBJECTS_DIR = ./objs -RCC_DIR = ./resources -UI_DIR = ./ui +DESTDIR = $$PWD/ +MOC_DIR = $$PWD/Build/moc +OBJECTS_DIR = $$PWD/Build/objs +RCC_DIR = $$PWD/Build/resources +UI_DIR = $$PWD/Build/ui SOURCES += \ qcustomplot.cpp