Multiple fixes:
[harmattan/cameraplus] / declarative / declarative.pro
1 TEMPLATE = lib
2 TARGET = declarativeqtcamera
3 DEPENDPATH += . ../lib/
4 INCLUDEPATH += . ../lib/
5 include(../cameraplus.pri)
6
7 CONFIG += link_pkgconfig plugin
8
9 PKGCONFIG = gstreamer-pbutils-0.10 libcanberra
10
11 LIBS += -L../lib/ -lqtcamera
12
13 QT += dbus
14
15 qt4:QT += declarative
16 qt5:QT += qml quick
17
18 HEADERS += plugin.h previewprovider.h camera.h mode.h imagemode.h videomode.h \
19            zoom.h flash.h scene.h evcomp.h videotorch.h whitebalance.h \
20            colortone.h exposure.h aperture.h iso.h noisereduction.h \
21            flickerreduction.h videomute.h metadata.h imagesettings.h \
22            imageresolutionmodel.h videosettings.h videoresolutionmodel.h \
23            notificationscontainer.h sounds.h focus.h autofocus.h \
24            roi.h cameraconfig.h videoplayer.h viewfinder.h capability.h
25
26 SOURCES += plugin.cpp previewprovider.cpp camera.cpp mode.cpp imagemode.cpp videomode.cpp \
27            zoom.cpp flash.cpp scene.cpp evcomp.cpp videotorch.cpp whitebalance.cpp \
28            colortone.cpp exposure.cpp aperture.cpp iso.cpp noisereduction.cpp \
29            flickerreduction.cpp videomute.cpp metadata.cpp imagesettings.cpp \
30            imageresolutionmodel.cpp videosettings.cpp videoresolutionmodel.cpp \
31            notificationscontainer.cpp sounds.cpp focus.cpp autofocus.cpp \
32            roi.cpp cameraconfig.cpp videoplayer.cpp viewfinder.cpp capability.cpp
33
34 PLUGIN_IMPORT_PATH = QtCamera
35 target.path = $$[QT_INSTALL_IMPORTS]/$$PLUGIN_IMPORT_PATH
36
37 qml.files = qmldir
38 qml.path = $$[QT_INSTALL_IMPORTS]/$$PLUGIN_IMPORT_PATH
39 INSTALLS += target qml