624e5524f371cff14f23449f05df8b70a7332d7a
[mverbiste] / mverbiste.pro
1 # Add files and directories to ship with the application 
2 # by adapting the examples below.
3 # file1.source = myfile
4 # dir1.source = mydir
5 DEPLOYMENTFOLDERS = xmldata icon # file1 dir1
6 xmldata.source = data
7 icon.source = icons
8
9 symbian:TARGET.UID3 = 0xE214283E
10
11 # Smart Installer package's UID
12 # This UID is from the protected range 
13 # and therefore the package will fail to install if self-signed
14 # By default qmake uses the unprotected range value if unprotected UID is defined for the application
15 # and 0x2002CCCF value if protected UID is given to the application
16 #symbian:DEPLOYMENT.installer_header = 0x2002CCCF
17
18 # Allow network access on Symbian
19 symbian:TARGET.CAPABILITY += NetworkServices
20
21 # If your application uses the Qt Mobility libraries, uncomment
22 # the following lines and add the respective components to the 
23 # MOBILITY variable. 
24 # CONFIG += mobility
25 # MOBILITY +=
26
27 SOURCES += main.cpp mainwindow.cpp \
28     verbiste/Trie.cpp \
29     verbiste/misc-types.cpp \
30     verbiste/FrenchVerbDictionary.cpp \
31     verbiste/c-api.cpp \
32     gui/conjugation.cpp \
33     about.cpp
34 HEADERS += mainwindow.h \
35     verbiste/Trie.h \
36     verbiste/misc-types.h \
37     verbiste/FrenchVerbDictionary.h \
38     verbiste/c-api.h \
39     gui/conjugation.h \
40     about.h
41 FORMS += mainwindow.ui
42
43 # Please do not modify the following two lines. Required for deployment.
44 include(deployment.pri)
45 qtcAddDeployment()
46
47 OTHER_FILES += \
48     qtc_packaging/debian_harmattan/rules \
49     qtc_packaging/debian_harmattan/README \
50     qtc_packaging/debian_harmattan/manifest.aegis \
51     qtc_packaging/debian_harmattan/copyright \
52     qtc_packaging/debian_harmattan/control \
53     qtc_packaging/debian_harmattan/compat \
54     qtc_packaging/debian_harmattan/changelog \
55     qtc_packaging/debian_fremantle/rules \
56     qtc_packaging/debian_fremantle/README \
57     qtc_packaging/debian_fremantle/copyright \
58     qtc_packaging/debian_fremantle/control \
59     qtc_packaging/debian_fremantle/compat \
60     qtc_packaging/debian_fremantle/changelog
61
62 # To build verbiste
63 unix: CONFIG += link_pkgconfig
64 unix: PKGCONFIG += libxml-2.0
65
66 DEFINES += VERSTR=\\\"1.0\\\"
67
68 # For verbiste
69 DEFINES += ICONV_CONST=
70
71 simulator {    # Build to run on simulator.
72     DEFINES += LIBDATADIR=\\\"$$PWD/data\\\"
73     DEFINES +=ICONFILE=\\\"$$PWD/icons/mverbiste160.png\\\"
74 }
75 else {
76     # installPrefix must be explicitly exported from deployment.pri first
77     DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\"
78     DEFINES +=ICONFILE=\\\"$${installPrefix}/icons/mverbiste160.png\\\"
79 }
80
81 maemo5 {
82     QT += maemo5
83 }