Now the application compiles for QT5.
[toast/confclerk.git] / src / app / app.pro
1 include(../global.pri)
2 TEMPLATE = app
3 TARGET = confclerk
4 DESTDIR = ../bin
5 QT += sql xml network widgets
6 CONFIG(maemo5) {
7     QT += maemo5
8 }
9
10 # module dependencies
11 LIBS += -L$$DESTDIR -lgui -lmvc -lsql
12 INCLUDEPATH += ../gui ../sql ../mvc ../orm
13 DEPENDPATH += . ../gui
14 POST_TARGETDEPS += $$DESTDIR/libmvc.a $$DESTDIR/libgui.a $$DESTDIR/libsql.a
15 maemo {
16     LIBS += -L$$DESTDIR -lqalarm -lalarm
17     INCLUDEPATH += ../alarm
18     DEPENDPATH +=  ../alarm
19     POST_TARGETDEPS += $$DESTDIR/libqalarm.a
20 }
21
22 HEADERS += appsettings.h \
23         application.h
24
25 SOURCES += main.cpp \
26            application.cpp \
27            appsettings.cpp
28
29 RESOURCES += ../icons.qrc \
30                          ../db.qrc \
31                          ../../data/data.qrc
32
33 # instalation related
34 PREFIX = /usr/bin
35 INSTALLS = target
36 target.path = $$PREFIX
37