5d4cfc7d0bf06ba78cb13a4d971b13598159f66c
[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
10 # module dependencies
11 LIBS += -L$$DESTDIR \
12     -lmvc \
13     -lorm \
14     -lsql
15 INCLUDEPATH += ../orm \
16     ../mvc \
17     ../sql \
18     ../app
19 DEPENDPATH += . \
20     ../orm \
21     ../mvc \
22     ../sql
23 TARGETDEPS += $$DESTDIR/liborm.a \
24     $$DESTDIR/libmvc.a \
25     $$DESTDIR/libsql.a
26 maemo { 
27     LIBS += -L$$DESTDIR \
28         -lqalarm
29     INCLUDEPATH += ../alarm
30     DEPENDPATH += ../alarm
31     TARGETDEPS += $$DESTDIR/libqalarm.a
32 }
33
34 # A shamelessly long list of sources, headers and forms.
35 # Please note that resources MUST be added to the app module
36 # (which means they need to be added to the test module as well,
37 # but I am sure you can live with that for the time being).
38
39 FORMS += searchhead.ui \
40     mainwindow.ui \
41     daynavigatorwidget.ui \
42     importschedulewidget.ui \
43     about.ui \
44     eventdialog.ui \
45     conflictsdialog.ui \
46     tabcontainer.ui \
47     mapwindow.ui
48
49 HEADERS += roomstabcontainer.h \
50     nowtabcontainer.h \
51     trackstabcontainer.h \
52     favtabcontainer.h \
53     searchtabcontainer.h \
54     searchhead.h \
55     dayviewtabcontainer.h \
56     conflictdialogcontainer.h \
57     conflictsdialog.h \
58     mainwindow.h \
59     daynavigatorwidget.h \
60     importschedulewidget.h \
61     eventdialog.h \
62     tabwidget.h \
63     tabcontainer.h \
64     mapwindow.h
65
66 SOURCES += roomstabcontainer.cpp \
67     nowtabcontainer.cpp \
68     trackstabcontainer.cpp \
69     favtabcontainer.cpp \
70     searchtabcontainer.cpp \
71     searchhead.cpp \
72     dayviewtabcontainer.cpp \
73     conflictdialogcontainer.cpp \
74     conflictsdialog.cpp \
75     mainwindow.cpp \
76     daynavigatorwidget.cpp \
77     importschedulewidget.cpp \
78     eventdialog.cpp \
79     tabwidget.cpp \
80     tabcontainer.cpp \
81     mapwindow.cpp
82
83 maemo { 
84     FORMS += alarmdialog.ui
85     HEADERS += alarmdialog.h
86     SOURCES += alarmdialog.cpp
87 }