X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=blobdiff_plain;f=declarative%2Fdeclarative.pro;h=e1fe3985c73e267a410bf852dd4b51973f666447;hp=6b25cca67a551b3a7c889b18b523281250f5307e;hb=2105909b2d91d0b76affd1ba9252dbc6e0dd1193;hpb=acb6037c2c54ce53e7cda692b23a416c192cd02c diff --git a/declarative/declarative.pro b/declarative/declarative.pro index 6b25cca..e1fe398 100644 --- a/declarative/declarative.pro +++ b/declarative/declarative.pro @@ -2,26 +2,38 @@ TEMPLATE = lib TARGET = declarativeqtcamera DEPENDPATH += . ../lib/ INCLUDEPATH += . ../lib/ +include(../cameraplus.pri) -CONFIG += link_pkgconfig debug +CONFIG += link_pkgconfig plugin -PKGCONFIG = gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-tag-0.10 \ - gstreamer-pbutils-0.10 meego-gstreamer-interfaces-0.10 libcanberra +PKGCONFIG = gstreamer-pbutils-0.10 libcanberra -QT += declarative dbus +LIBS += -L../lib/ -lqtcamera + +QT += dbus + +qt4:QT += declarative +qt5:QT += qml quick HEADERS += plugin.h previewprovider.h camera.h mode.h imagemode.h videomode.h \ zoom.h flash.h scene.h evcomp.h videotorch.h whitebalance.h \ colortone.h exposure.h aperture.h iso.h noisereduction.h \ flickerreduction.h videomute.h metadata.h imagesettings.h \ imageresolutionmodel.h videosettings.h videoresolutionmodel.h \ - notifications.h notificationscontainer.h sounds.h focus.h autofocus.h \ - roi.h + notificationscontainer.h sounds.h focus.h autofocus.h \ + roi.h cameraconfig.h videoplayer.h viewfinder.h SOURCES += plugin.cpp previewprovider.cpp camera.cpp mode.cpp imagemode.cpp videomode.cpp \ zoom.cpp flash.cpp scene.cpp evcomp.cpp videotorch.cpp whitebalance.cpp \ colortone.cpp exposure.cpp aperture.cpp iso.cpp noisereduction.cpp \ flickerreduction.cpp videomute.cpp metadata.cpp imagesettings.cpp \ imageresolutionmodel.cpp videosettings.cpp videoresolutionmodel.cpp \ - notifications.cpp notificationscontainer.cpp sounds.cpp focus.cpp autofocus.cpp \ - roi.cpp + notificationscontainer.cpp sounds.cpp focus.cpp autofocus.cpp \ + roi.cpp cameraconfig.cpp videoplayer.cpp viewfinder.cpp + +PLUGIN_IMPORT_PATH = QtCamera +target.path = $$[QT_INSTALL_IMPORTS]/$$PLUGIN_IMPORT_PATH + +qml.files = qmldir +qml.path = $$[QT_INSTALL_IMPORTS]/$$PLUGIN_IMPORT_PATH +INSTALLS += target qml