20aed517a4520c9989fffc68e2d7b29ddcec6091
[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     settingsdialog.ui
49
50 HEADERS += roomstabcontainer.h \
51     nowtabcontainer.h \
52     trackstabcontainer.h \
53     favtabcontainer.h \
54     searchtabcontainer.h \
55     searchhead.h \
56     dayviewtabcontainer.h \
57     conflictdialogcontainer.h \
58     conflictsdialog.h \
59     mainwindow.h \
60     daynavigatorwidget.h \
61     importschedulewidget.h \
62     eventdialog.h \
63     tabcontainer.h \
64     mapwindow.h \
65     settingsdialog.h
66
67 SOURCES += roomstabcontainer.cpp \
68     nowtabcontainer.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     importschedulewidget.cpp \
79     eventdialog.cpp \
80     tabcontainer.cpp \
81     mapwindow.cpp \
82     settingsdialog.cpp
83
84 HEADERS += errormessage.h
85 SOURCES += errormessage.cpp
86 CONFIG(maemo5) {
87     QT += maemo5
88 }
89
90 #maemo { 
91 #    FORMS += alarmdialog.ui
92 #    HEADERS += alarmdialog.h
93 #    SOURCES += alarmdialog.cpp
94 #}