f41eb37a27fcccbbeb81521bea9ba9e9a40f7185
[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 POST_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     POST_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     about.ui \
43     eventdialog.ui \
44     conflictsdialog.ui \
45     tabcontainer.ui \
46     mapwindow.ui \
47     settingsdialog.ui \
48     conferenceeditor.ui \
49     urlinputdialog.ui
50
51 HEADERS += roomstabcontainer.h \
52     nowtabcontainer.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     mapwindow.h \
65     settingsdialog.h \
66     conferenceeditor.h \
67     urlinputdialog.h
68
69 SOURCES += roomstabcontainer.cpp \
70     nowtabcontainer.cpp \
71     trackstabcontainer.cpp \
72     favtabcontainer.cpp \
73     searchtabcontainer.cpp \
74     searchhead.cpp \
75     dayviewtabcontainer.cpp \
76     conflictdialogcontainer.cpp \
77     conflictsdialog.cpp \
78     mainwindow.cpp \
79     daynavigatorwidget.cpp \
80     eventdialog.cpp \
81     tabcontainer.cpp \
82     mapwindow.cpp \
83     settingsdialog.cpp \
84     conferenceeditor.cpp \
85     urlinputdialog.cpp
86
87 HEADERS += errormessage.h
88 SOURCES += errormessage.cpp
89 CONFIG(maemo5) {
90     QT += maemo5
91 }
92
93 #maemo { 
94 #    FORMS += alarmdialog.ui
95 #    HEADERS += alarmdialog.h
96 #    SOURCES += alarmdialog.cpp
97 #}