Merge pull request #1 from msiedlarek/installation

Installation and installation prefix
This commit is contained in:
Rick Blommers 2013-12-24 01:35:32 -08:00
commit 139d249f30

View File

@ -11,5 +11,18 @@ CONFIG += staticlib
SOURCES += QtAwesome.cpp
HEADERS += QtAwesome.h
isEmpty(PREFIX) {
unix {
PREFIX = /usr
} else {
PREFIX = $$[QT_INSTALL_PREFIX]
}
}
install_headers.files = QtAwesome.h
install_headers.path = $$PREFIX/include
target.path = $$PREFIX/lib
INSTALLS += install_headers target
RESOURCES += \
QtAwesome.qrc