0f270350b1038bb7acc1850a6aed076c03708dd1
[harmattan/cameraplus] / lib / lib.pro
1 TEMPLATE = lib
2 TARGET = qtcamera
3 DEPENDPATH += .
4 INCLUDEPATH += .
5
6 include(../cameraplus.pri)
7
8 QT += opengl
9
10 CONFIG += link_pkgconfig
11
12 PKGCONFIG = gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-tag-0.10 \
13             gstreamer-pbutils-0.10
14
15 harmattan:PKGCONFIG += meego-gstreamer-interfaces-0.10
16
17 HEADERS += qtcamconfig.h qtcamera.h qtcamscanner.h qtcamdevice.h qtcamviewfinder.h \
18            qtcammode.h qtcamgstreamermessagehandler.h qtcamgstreamermessagelistener.h \
19            qtcamviewfinderrenderer.h \
20            qtcamviewfinderrenderergeneric.h qtcamimagesettings.h qtcamvideosettings.h \
21            qtcamimagemode.h qtcamvideomode.h qtcammetadata.h qtcamcapability.h \
22            qtcamzoom.h qtcamflash.h qtcamscene.h qtcamevcomp.h qtcamvideotorch.h \
23            qtcamwhitebalance.h qtcamcolortone.h qtcamflickerreduction.h \
24            qtcamnoisereduction.h qtcamiso.h qtcamaperture.h qtcamexposure.h \
25            qtcamvideomute.h qtcamnotifications.h qtcamfocus.h qtcamautofocus.h \
26            qtcamanalysisbin.h qtcampropertysetter.h qtcamroi.h
27
28 SOURCES += qtcamconfig.cpp qtcamera.cpp qtcamscanner.cpp qtcamdevice.cpp qtcamviewfinder.cpp \
29            qtcammode.cpp qtcamgstreamermessagehandler.cpp qtcamgstreamermessagelistener.cpp \
30            qtcamviewfinderrenderer.cpp \
31            qtcamviewfinderrenderergeneric.cpp qtcamimagesettings.cpp qtcamvideosettings.cpp \
32            qtcamimagemode.cpp qtcamvideomode.cpp qtcammetadata.cpp qtcamcapability.cpp \
33            qtcamzoom.cpp qtcamflash.cpp qtcamscene.cpp qtcamevcomp.cpp qtcamvideotorch.cpp \
34            qtcamwhitebalance.cpp qtcamcolortone.cpp qtcamflickerreduction.cpp \
35            qtcamnoisereduction.cpp qtcamiso.cpp qtcamaperture.cpp qtcamexposure.cpp \
36            qtcamvideomute.cpp qtcamnotifications.cpp qtcamfocus.cpp qtcamautofocus.cpp \
37            qtcamanalysisbin.cpp qtcampropertysetter.cpp qtcamroi.cpp
38
39 HEADERS += qtcammode_p.h qtcamdevice_p.h qtcamcapability_p.h qtcamautofocus_p.h \
40            qtcamnotifications_p.h qtcamflash_p.h qtcamroi_p.h
41
42 LIBS += -lgstphotography-0.10
43
44 HEADERS += gst/gstcopy.h
45 SOURCES += gst/gstcopy.cpp
46
47 harmattan:SOURCES += qtcamviewfinderrenderermeego.cpp
48 harmattan:HEADERS += qtcamviewfinderrenderermeego.h
49
50 qt4:SOURCES += qtcamgraphicsviewfinder.cpp
51 qt4:HEADERS += qtcamgraphicsviewfinder.h
52
53 target.path = /usr/lib/
54 INSTALLS += target