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/SwitchButton.pro b/SwitchButton.pro index 57cbbbc..1679259 100644 --- a/SwitchButton.pro +++ b/SwitchButton.pro @@ -9,11 +9,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 += \ SwitchButton.cpp