source: src/app/app.pro

Last change on this file was ef9a71b, checked in by gregor herrmann <gregor@…>, 5 months ago

Allow overriding PREFIX

Haiku requires a different install path.

  • Property mode set to 100644
File size: 846 bytes
Line 
1include(../global.pri)
2TEMPLATE = app
3TARGET = confclerk
4DESTDIR = ../bin
5QT += sql xml network
6greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
7CONFIG(maemo5) {
8    QT += maemo5
9}
10
11# module dependencies
12LIBS += -L$$DESTDIR -lgui -lmvc -lsql
13INCLUDEPATH += ../gui ../sql ../mvc ../orm
14DEPENDPATH += . ../gui
15POST_TARGETDEPS += $$DESTDIR/libmvc.a $$DESTDIR/libgui.a $$DESTDIR/libsql.a
16maemo {
17    LIBS += -L$$DESTDIR -lqalarm -lalarm
18    INCLUDEPATH += ../alarm
19    DEPENDPATH +=  ../alarm
20    POST_TARGETDEPS += $$DESTDIR/libqalarm.a
21}
22
23HEADERS += appsettings.h \
24        application.h
25
26SOURCES += main.cpp \
27           application.cpp \
28           appsettings.cpp
29
30RESOURCES += ../icons.qrc \
31                         ../db.qrc \
32                         ../../data/data.qrc
33
34# instalation related
35!defined(PREFIX, var) {
36    PREFIX = /usr/bin
37}
38INSTALLS = target
39target.path = $$PREFIX
40
Note: See TracBrowser for help on using the repository browser.