76bd49e79e2137ef4aac087c632ecd38aaa2fe54
[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 settings.cpp filenaming.cpp displaystate.cpp fsmonitor.cpp \
21            cameraresources.cpp compass.cpp orientation.cpp mountprotector.cpp \
22            trackerstore.cpp focusrectangle.cpp sharehelper.cpp deletehelper.cpp galleryhelper.cpp \
23            postcapturemodel.cpp batteryinfo.cpp gridlines.cpp devicekeys.cpp \
24            platformsettings.cpp dbusservice.cpp
25
26 HEADERS += settings.h filenaming.h displaystate.h fsmonitor.h \
27            cameraresources.h compass.h orientation.h mountprotector.h \
28            trackerstore.h focusrectangle.h sharehelper.h deletehelper.h galleryhelper.h \
29            postcapturemodel.h batteryinfo.h gridlines.h devicekeys.h \
30            platformsettings.h dbusservice.h
31
32 RESOURCES += ../qml/qml.qrc
33
34 contains(CONFIG, qmljsdebug) {
35     message("Enabling QML/JS Debugging")
36     QT += script
37     include(../qmljsdebugger/qmljsdebugger-src.pri)
38 }
39
40 harmattan {
41     include(harmattan/harmattan.pri)
42     RESOURCES += ../qml/harmattan/harmattan.qrc
43 }
44
45 nemo {
46     include(nemo/nemo.pri)
47     RESOURCES += ../qml/harmattan/harmattan.qrc
48 }
49
50 qt4 {
51     SOURCES += qmlfileengine.cpp
52     HEADERS += qmlfileengine.h
53 }
54
55 target.path = /usr/bin/
56 INSTALLS += target