Removed commented out reference to removed files.
[toast/confclerk.git] / src / gui / gui.pro
index 0ee18844475e98c9adf24a9b36c71df75b7d1041..f9f7028999d64ac2293e3622e97c50f554c754df 100644 (file)
@@ -1,19 +1,88 @@
+include(../global.pri)
 TEMPLATE = lib
 TARGET = gui
 DESTDIR = ../bin
 CONFIG += static
 TEMPLATE = lib
 TARGET = gui
 DESTDIR = ../bin
 CONFIG += static
+QT += sql \
+    xml \
+    network
+QMAKE_CLEAN += ../bin/libgui.a
 
 # module dependencies
 
 # module dependencies
-LIBS += -L$$DESTDIR -lmodel
-INCLUDEPATH += ../model
-DEPENDPATH += . ../model
-TARGETDEPS += $$DESTDIR/libmodel.a
-
+LIBS += -L$$DESTDIR \
+    -lmvc \
+    -lorm \
+    -lsql
+INCLUDEPATH += ../orm \
+    ../mvc \
+    ../sql \
+    ../app
+DEPENDPATH += . \
+    ../orm \
+    ../mvc \
+    ../sql
+POST_TARGETDEPS += $$DESTDIR/liborm.a \
+    $$DESTDIR/libmvc.a \
+    $$DESTDIR/libsql.a
+maemo { 
+    LIBS += -L$$DESTDIR \
+        -lqalarm
+    INCLUDEPATH += ../alarm
+    DEPENDPATH += ../alarm
+    POST_TARGETDEPS += $$DESTDIR/libqalarm.a
+}
 
 # A shamelessly long list of sources, headers and forms.
 # Please note that resources MUST be added to the app module
 # (which means they need to be added to the test module as well,
 # but I am sure you can live with that for the time being).
 
 # A shamelessly long list of sources, headers and forms.
 # Please note that resources MUST be added to the app module
 # (which means they need to be added to the test module as well,
 # but I am sure you can live with that for the time being).
-SOURCES += mainwindow.cpp
-HEADERS += mainwindow.h
+
+FORMS += searchhead.ui \
+    mainwindow.ui \
+    daynavigatorwidget.ui \
+    about.ui \
+    eventdialog.ui \
+    conflictsdialog.ui \
+    tabcontainer.ui \
+    settingsdialog.ui \
+    conferenceeditor.ui \
+    urlinputdialog.ui
+
+HEADERS += roomstabcontainer.h \
+    trackstabcontainer.h \
+    favtabcontainer.h \
+    searchtabcontainer.h \
+    searchhead.h \
+    dayviewtabcontainer.h \
+    conflictdialogcontainer.h \
+    conflictsdialog.h \
+    mainwindow.h \
+    daynavigatorwidget.h \
+    eventdialog.h \
+    tabcontainer.h \
+    settingsdialog.h \
+    conferenceeditor.h \
+    urlinputdialog.h
+
+SOURCES += roomstabcontainer.cpp \
+    trackstabcontainer.cpp \
+    favtabcontainer.cpp \
+    searchtabcontainer.cpp \
+    searchhead.cpp \
+    dayviewtabcontainer.cpp \
+    conflictdialogcontainer.cpp \
+    conflictsdialog.cpp \
+    mainwindow.cpp \
+    daynavigatorwidget.cpp \
+    eventdialog.cpp \
+    tabcontainer.cpp \
+    settingsdialog.cpp \
+    conferenceeditor.cpp \
+    urlinputdialog.cpp
+
+HEADERS += errormessage.h
+SOURCES += errormessage.cpp
+CONFIG(maemo5) {
+    QT += maemo5
+}