added a support of install targets

This commit is contained in:
Andrei Yankovich 2018-11-11 15:53:49 +03:00
parent 8b0865e914
commit fcf00ff458
2 changed files with 3 additions and 8 deletions

View File

@ -42,11 +42,6 @@ HEADERS += \
locales.h \ locales.h \
settings.h settings.h
unix {
target.path = /usr/lib
INSTALLS += target
}
DISTFILES += \ DISTFILES += \
QuasarLib.pri QuasarLib.pri

View File

@ -10,12 +10,12 @@ QUASARAPP_LIB = 1
#DEPENDS #DEPENDS
CONFIG(release, debug|release): { CONFIG(release, debug|release): {
LIBS += -L"$$PWD/build/release" -lQuasarApp QUASARAPP_LIB_OUTPUT_DIR="$$PWD/build/release"
} else { } else {
LIBS += -L"$$PWD/build/debug" -lQuasarApp QUASARAPP_LIB_OUTPUT_DIR="$$PWD/build/debug"
} }
LIBS += -L$$QUASARAPP_LIB_OUTPUT_DIR -lQuasarApp
INCLUDEPATH += "$$PWD/" INCLUDEPATH += "$$PWD/"