import schedule dialog
[toast/confclerk.git] / src / gui / gui.pro
index 8d62f28..50def41 100644 (file)
@@ -1,3 +1,4 @@
+include(../global.pri)
 TEMPLATE = lib
 TARGET = gui
 DESTDIR = ../bin
@@ -5,10 +6,16 @@ CONFIG += static
 QT += sql xml
 
 # module dependencies
-LIBS += -L$$DESTDIR -lmvc -lorm -lsql -lqalarm
-INCLUDEPATH += ../orm ../mvc ../sql ../alarm
-DEPENDPATH += . ../orm ../mvc ../sql ../alarm
-TARGETDEPS += $$DESTDIR/liborm.a $$DESTDIR/libmvc.a $$DESTDIR/libsql.a $$DESTDIR/libqalarm.a
+LIBS += -L$$DESTDIR -lmvc -lorm -lsql
+INCLUDEPATH += ../orm ../mvc ../sql ../app
+DEPENDPATH += . ../orm ../mvc ../sql
+TARGETDEPS += $$DESTDIR/liborm.a $$DESTDIR/libmvc.a $$DESTDIR/libsql.a
+maemo {
+    LIBS += -L$$DESTDIR -lqalarm
+    INCLUDEPATH += ../alarm
+    DEPENDPATH +=  ../alarm
+    TARGETDEPS +=  $$DESTDIR/libqalarm.a
+}
 
 
 # A shamelessly long list of sources, headers and forms.
@@ -18,14 +25,28 @@ TARGETDEPS += $$DESTDIR/liborm.a $$DESTDIR/libmvc.a $$DESTDIR/libsql.a $$DESTDIR
 
 FORMS += mainwindow.ui \
          daynavigatorwidget.ui \
+         importschedulewidget.ui \
          about.ui \
-        alarmdialog.ui
+         eventdialog.ui \
+         mapwindow.ui
 
 HEADERS += mainwindow.h \
            daynavigatorwidget.h \
-          alarmdialog.h
+           importschedulewidget.h \
+           eventdialog.h \
+           tabwidget.h \
+           mapwindow.h
 
 SOURCES += mainwindow.cpp \
            daynavigatorwidget.cpp \
-          alarmdialog.cpp
+           importschedulewidget.cpp \
+           eventdialog.cpp \
+           tabwidget.cpp \
+           mapwindow.cpp
+
+maemo {
+    FORMS += alarmdialog.ui
+    HEADERS += alarmdialog.h
+    SOURCES += alarmdialog.cpp
+}