Now the application compiles for QT5.
[toast/confclerk.git] / src / gui / gui.pro
1 include(../global.pri)
2 TEMPLATE = lib
3 TARGET = gui
4 DESTDIR = ../bin
5 CONFIG += static
6 QT += sql \
7     xml \
8     network \
9     widgets
10 QMAKE_CLEAN += ../bin/libgui.a
11
12 # module dependencies
13 LIBS += -L$$DESTDIR \
14     -lmvc \
15     -lorm \
16     -lsql
17 INCLUDEPATH += ../orm \
18     ../mvc \
19     ../sql \
20     ../app
21 DEPENDPATH += . \
22     ../orm \
23     ../mvc \
24     ../sql
25 POST_TARGETDEPS += $$DESTDIR/liborm.a \
26     $$DESTDIR/libmvc.a \
27     $$DESTDIR/libsql.a
28 maemo { 
29     LIBS += -L$$DESTDIR \
30         -lqalarm
31     INCLUDEPATH += ../alarm
32     DEPENDPATH += ../alarm
33     POST_TARGETDEPS += $$DESTDIR/libqalarm.a
34 }
35
36 # A shamelessly long list of sources, headers and forms.
37 # Please note that resources MUST be added to the app module
38 # (which means they need to be added to the test module as well,
39 # but I am sure you can live with that for the time being).
40
41 FORMS += searchhead.ui \
42     mainwindow.ui \
43     daynavigatorwidget.ui \
44     about.ui \
45     eventdialog.ui \
46     conflictsdialog.ui \
47     tabcontainer.ui \
48     settingsdialog.ui \
49     conferenceeditor.ui \
50     urlinputdialog.ui
51
52 HEADERS += roomstabcontainer.h \
53     trackstabcontainer.h \
54     favtabcontainer.h \
55     searchtabcontainer.h \
56     searchhead.h \
57     dayviewtabcontainer.h \
58     conflictdialogcontainer.h \
59     conflictsdialog.h \
60     mainwindow.h \
61     daynavigatorwidget.h \
62     eventdialog.h \
63     tabcontainer.h \
64     settingsdialog.h \
65     conferenceeditor.h \
66     urlinputdialog.h
67
68 SOURCES += roomstabcontainer.cpp \
69     trackstabcontainer.cpp \
70     favtabcontainer.cpp \
71     searchtabcontainer.cpp \
72     searchhead.cpp \
73     dayviewtabcontainer.cpp \
74     conflictdialogcontainer.cpp \
75     conflictsdialog.cpp \
76     mainwindow.cpp \
77     daynavigatorwidget.cpp \
78     eventdialog.cpp \
79     tabcontainer.cpp \
80     settingsdialog.cpp \
81     conferenceeditor.cpp \
82     urlinputdialog.cpp
83
84 HEADERS += errormessage.h
85 SOURCES += errormessage.cpp
86 CONFIG(maemo5) {
87     QT += maemo5
88 }
89
90 OTHER_FILES += \
91     test.qml
92