Use Maemo6 files for MeeGo
[qt-mobility:qt-mobility-gordons.git] / src / gallery / gallery.pro
1 TEMPLATE = lib
2
3 TARGET = QtGallery
4
5 include (../../common.pri)
6 INCLUDEPATH+= .
7
8 !static:DEFINES += QT_MAKEDLL
9 DEFINES += QT_BUILD_GALLERY_LIB
10
11 PRIVATE_HEADERS = \
12         qabstractgallery_p.h \
13         qgalleryabstractrequest_p.h \
14         qgalleryabstractresponse_p.h \
15         qgallerynullresultset_p.h \
16         qgalleryresultset_p.h
17
18 PUBLIC_HEADERS = \
19         qabstractgallery.h \
20         qdocumentgallery.h \
21         qgalleryabstractrequest.h \
22         qgalleryabstractresponse.h \
23         qgalleryfilter.h \
24         qgalleryitemrequest.h \
25         qgalleryproperty.h \
26         qgalleryquerymodel.h \
27         qgalleryqueryrequest.h \
28         qgalleryresource.h \
29         qgalleryresultset.h \
30         qgallerytype.h \
31         qgallerytyperequest.h
32
33 SOURCES = \
34         qabstractgallery.cpp \
35         qdocumentgallery.cpp \
36         qgalleryabstractrequest.cpp \
37         qgalleryabstractresponse.cpp \
38         qgalleryfilter.cpp \
39         qgalleryitemrequest.cpp \
40         qgalleryquerymodel.cpp \
41         qgalleryqueryrequest.cpp \
42         qgalleryresource.cpp \
43         qgalleryresultset.cpp \
44         qgallerytyperequest.cpp
45
46 OTHER_FILES = \
47         qgalleryproperty.qdoc \
48         qgallerytype.qdoc
49
50 simulator: {
51     include (simulator/simulator.pri)
52 } else:maemo5 {
53     include (maemo5/maemo5.pri)
54 } else:maemo6|meego {
55     include (maemo6/maemo6.pri)
56 } else:unix:contains(QT_CONFIG, dbus) {
57     include (maemo5/maemo5.pri)
58 } else:symbian:contains(mds_enabled, yes) {
59      include (symbian/symbian.pri)
60 } else {
61     DEFINES += QT_DOCUMENT_GALLERY_NULL
62 }
63
64 HEADERS = $$PUBLIC_HEADERS $$PRIVATE_HEADERS
65
66 symbian {
67     load(data_caging_paths)
68     QtGalleryDeployment.sources = QtGallery.dll
69     QtGalleryDeployment.path = /sys/bin
70     DEPLOYMENT += QtGalleryDeployment
71     TARGET.UID3=0x2002BFCB
72     TARGET.CAPABILITY = ALL -TCB
73 }
74
75 CONFIG += middleware
76 include(../../features/deploy.pri)