Removed dbus dependency on non-maemo platforms.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 21 Jun 2011 19:36:46 +0000 (19:36 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 21 Jun 2011 19:36:46 +0000 (19:36 +0000)
src/app/app.pro

index c6e6be4..f1eae33 100644 (file)
@@ -2,9 +2,9 @@ include(../global.pri)
 TEMPLATE = app
 TARGET = fosdem-schedule
 DESTDIR = ../bin
-QT += sql xml network dbus 
+QT += sql xml network 
 CONFIG(maemo5) {
-    QT += maemo5
+    QT += maemo5 dbus
 }
 
 # module dependencies
@@ -17,18 +17,18 @@ maemo {
     INCLUDEPATH += ../alarm
     DEPENDPATH +=  ../alarm
     TARGETDEPS += $$DESTDIR/libqalarm.a
+    HEADERS += alarmdbus.h \
+        alarmdbusadaptorp.h
+    SOURCES += alarmdbus.cpp \
+        alarmdbusadaptor.cpp
 }
 
 HEADERS += appsettings.h \
-        application.h \
-    alarmdbus.h \
-       alarmdbusadaptorp.h
+        application.h
 
 SOURCES += main.cpp \
            application.cpp \
-           appsettings.cpp \
-    alarmdbus.cpp \
-       alarmdbusadaptor.cpp
+           appsettings.cpp
 
 RESOURCES += ../icons.qrc \
              ../maps.qrc