Skip to content

Commit

Permalink
Merge pull request #28 from Psy-Kai/master
Browse files Browse the repository at this point in the history
Added PREFIX to projectfile for installation
  • Loading branch information
Feng Lee committed Sep 14, 2015
2 parents 162d740 + 81645e1 commit d88915e
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions qmqtt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,24 @@ HEADERS += qmqtt_client.h\
qmqtt_routesubscription.h \
qmqtt_routedmessage.h

unix:!symbian {
maemo5 {
target.path = /opt/usr/lib
isEmpty(PREFIX) {
contains(MEEGO_EDITION,harmattan) {
PREFIX = /usr
} else:unix:!symbian {
maemo5 {
PREFIX = /opt/usr
} else {
PREFIX = /usr/local
}
} else {
target.path = /usr/lib
PREFIX = $$[QT_INSTALL_PREFIX]
}
INSTALLS += target
}

headers.files = $$HEADERS
headers.path = $$PREFIX/include/qmqtt
target.path = $$PREFIX/lib
INSTALLS += headers target

OTHER_FILES += \
qmqtt.pri

0 comments on commit d88915e

Please sign in to comment.