Move quillitem.* to src/harmattan and register it only if we are building for harmattan
[harmattan/cameraplus] / src / src.pro
1 TEMPLATE = app
2 TARGET = cameraplus
3 DEPENDPATH += . ../
4 INCLUDEPATH += . ../
5 include(../cameraplus.pri)
6
7 QT += declarative opengl dbus
8
9 CONFIG += link_pkgconfig mobility qtsparql
10
11 MOBILITY += location systeminfo
12
13 PKGCONFIG = qmsystem2 libresourceqt1
14
15 SOURCES += main.cpp settings.cpp filenaming.cpp displaystate.cpp fsmonitor.cpp \
16            cameraresources.cpp compass.cpp orientation.cpp geocode.cpp mountprotector.cpp \
17            trackerstore.cpp focusrectangle.cpp sharehelper.cpp deletehelper.cpp galleryhelper.cpp \
18            postcapturemodel.cpp batteryinfo.cpp gridlines.cpp deviceinfo.cpp devicekeys.cpp \
19            platformsettings.cpp dbusservice.cpp qmlfileengine.cpp
20
21 HEADERS += settings.h filenaming.h displaystate.h fsmonitor.h \
22            cameraresources.h compass.h orientation.h geocode.h mountprotector.h \
23            trackerstore.h focusrectangle.h sharehelper.h deletehelper.h galleryhelper.h \
24            postcapturemodel.h batteryinfo.h gridlines.h deviceinfo.h devicekeys.h \
25            platformsettings.h dbusservice.h qmlfileengine.h
26
27 RESOURCES += ../qml/qml.qrc
28
29 contains(CONFIG, qmljsdebug) {
30     message("Enabling QML/JS Debugging")
31     QT += script
32     include(../qmljsdebugger/qmljsdebugger-src.pri)
33 }
34
35 harmattan {
36     include(harmattan/harmattan.pri)
37     RESOURCES += ../qml/harmattan/harmattan.qrc
38 }
39
40 target.path = /usr/bin/
41 INSTALLS += target