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