mirror of
https://github.com/gamecreature/QtAwesome.git
synced 2024-11-15 13:35:44 +08:00
Installation and installation prefix
This commit is contained in:
parent
026244f0b9
commit
80f8d85d51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user