Fixed VideoPlayerPage.qml failure to set cameraConfig
[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     CONFIG += mobility
13     MOBILITY += location systeminfo
14     PKGCONFIG += QtSparql qmsystem2 libresourceqt1 qdeclarative-boostable
15 }
16
17 qt5 {
18     QT += qml quick
19     PKGCONFIG += Qt5Sparql qmsystem2-qt5 libresourceqt5 qdeclarative5-boostable
20 }
21
22 SOURCES += main.cpp settings.cpp filenaming.cpp displaystate.cpp fsmonitor.cpp \
23            cameraresources.cpp compass.cpp orientation.cpp mountprotector.cpp \
24            trackerstore.cpp focusrectangle.cpp sharehelper.cpp deletehelper.cpp galleryhelper.cpp \
25            postcapturemodel.cpp batteryinfo.cpp gridlines.cpp devicekeys.cpp \
26            platformsettings.cpp dbusservice.cpp
27
28 HEADERS += settings.h filenaming.h displaystate.h fsmonitor.h \
29            cameraresources.h compass.h orientation.h mountprotector.h \
30            trackerstore.h focusrectangle.h sharehelper.h deletehelper.h galleryhelper.h \
31            postcapturemodel.h batteryinfo.h gridlines.h devicekeys.h \
32            platformsettings.h dbusservice.h
33
34 RESOURCES += ../qml/qml.qrc
35
36 contains(CONFIG, qmljsdebug) {
37     message("Enabling QML/JS Debugging")
38     QT += script
39     include(../qmljsdebugger/qmljsdebugger-src.pri)
40 }
41
42 harmattan {
43     include(harmattan/harmattan.pri)
44     RESOURCES += ../qml/harmattan/harmattan.qrc
45 }
46
47 nemo {
48     include(nemo/nemo.pri)
49     RESOURCES += ../qml/harmattan/harmattan.qrc
50 }
51
52 qt4 {
53 # TODO: geocode.*
54     SOURCES += qmlfileengine.cpp geocode.cpp deviceinfo.cpp
55     HEADERS += qmlfileengine.h geocode.h deviceinfo.h
56 }
57
58 target.path = /usr/bin/
59 INSTALLS += target