-SOURCES += main.cpp settings.cpp filenaming.cpp quillitem.cpp displaystate.cpp
-HEADERS += settings.h filenaming.h quillitem.h displaystate.h
+HEADERS += settings.h filenaming.h cameraresources.h \
+ trackerstore.h focusrectangle.h sharehelper.h \
+ deletehelper.h galleryhelper.h postcapturemodel.h \
+ gridlines.h platformsettings.h dbusservice.h
+
+RESOURCES += ../qml/qml.qrc
+
+contains(CONFIG, qmljsdebug) {
+ message("Enabling QML/JS Debugging")
+ QT += script
+ include(../qmljsdebugger/qmljsdebugger-src.pri)
+}
+
+harmattan {
+ include(harmattan/harmattan.pri)
+ RESOURCES += ../qml/harmattan/harmattan.qrc
+}
+
+sailfish {
+ include(sailfish/sailfish.pri)
+ RESOURCES += ../qml/sailfish/sailfish.qrc
+}
+
+qt4 {
+ SOURCES += qmlfileengine.cpp
+ HEADERS += qmlfileengine.h
+}
+
+target.path = /usr/bin/
+INSTALLS += target