9238f70824da408a41ced4b8f18e8720c5829b17
[harmattan/cameraplus] / src / src.pro
1 TEMPLATE = app
2 TARGET = cameraplus
3 DEPENDPATH += . ../
4 INCLUDEPATH += . ../
5 include(../cameraplus.pri)
6
7 QT += dbus
8 CONFIG += link_pkgconfig
9
10 qt4 {
11     QT += declarative opengl
12     PKGCONFIG += QtSparql qmsystem2 libresourceqt1 qdeclarative-boostable
13 }
14
15 qt5 {
16     QT += qml quick
17     PKGCONFIG += Qt5Sparql qmsystem2-qt5 libresourceqt5 qdeclarative5-boostable
18 }
19
20 SOURCES += main.cpp \
21            settings.cpp filenaming.cpp cameraresources.cpp \
22            trackerstore.cpp focusrectangle.cpp sharehelper.cpp \
23            deletehelper.cpp galleryhelper.cpp postcapturemodel.cpp \
24            gridlines.cpp platformsettings.cpp dbusservice.cpp \
25            mountprotector.cpp devicesettings.cpp
26
27 HEADERS += settings.h filenaming.h cameraresources.h \
28            trackerstore.h focusrectangle.h sharehelper.h \
29            deletehelper.h galleryhelper.h postcapturemodel.h \
30            gridlines.h platformsettings.h dbusservice.h \
31            mountprotector.h devicesettings.h
32
33 RESOURCES += ../qml/qml.qrc
34
35 contains(CONFIG, qmljsdebug) {
36     message("Enabling QML/JS Debugging")
37     QT += script
38     include(../qmljsdebugger/qmljsdebugger-src.pri)
39 }
40
41 harmattan {
42     include(harmattan/harmattan.pri)
43     RESOURCES += ../qml/harmattan/harmattan.qrc
44 }
45
46 sailfish {
47     include(sailfish/sailfish.pri)
48     RESOURCES += ../qml/sailfish/sailfish.qrc
49 }
50
51 qt4 {
52     SOURCES += qmlfileengine.cpp
53     HEADERS += qmlfileengine.h
54 }
55
56 target.path = /usr/bin/
57 INSTALLS += target