X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=mverbiste.pro;h=9c87f542269f5c421d58d37f50e160940faf6213;hb=HEAD;hp=24554c8074ec1b9ce125f2bb7eac73777b76d31e;hpb=3363c69bdbc38494b966567f4dbf8384402e5877;p=mverbiste diff --git a/mverbiste.pro b/mverbiste.pro index 24554c8..9c87f54 100644 --- a/mverbiste.pro +++ b/mverbiste.pro @@ -2,8 +2,9 @@ # by adapting the examples below. # file1.source = myfile # dir1.source = mydir -DEPLOYMENTFOLDERS = xmldata # file1 dir1 +DEPLOYMENTFOLDERS = xmldata icon # file1 dir1 xmldata.source = data +icon.source = icons symbian:TARGET.UID3 = 0xE214283E @@ -28,13 +29,15 @@ SOURCES += main.cpp mainwindow.cpp \ verbiste/misc-types.cpp \ verbiste/FrenchVerbDictionary.cpp \ verbiste/c-api.cpp \ - gui/conjugation.cpp + gui/conjugation.cpp \ + about.cpp HEADERS += mainwindow.h \ verbiste/Trie.h \ verbiste/misc-types.h \ verbiste/FrenchVerbDictionary.h \ verbiste/c-api.h \ - gui/conjugation.h + gui/conjugation.h \ + about.h FORMS += mainwindow.ui # Please do not modify the following two lines. Required for deployment. @@ -54,17 +57,23 @@ OTHER_FILES += \ qtc_packaging/debian_fremantle/copyright \ qtc_packaging/debian_fremantle/control \ qtc_packaging/debian_fremantle/compat \ - qtc_packaging/debian_fremantle/changelog \ - verbiste/verbiste.dox \ - verbiste/Makefile.in \ - verbiste/Makefile.am \ - gui/Makefile.in \ - gui/Makefile.am + qtc_packaging/debian_fremantle/changelog # To build verbiste unix: CONFIG += link_pkgconfig unix: PKGCONFIG += libxml-2.0 +DEFINES += VERSTR=\\\"1.1\\\" + +# For verbiste DEFINES += ICONV_CONST= -# installPrefix must be explicitly exported from deployment.pri first -DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\" + +simulator { # Build to run on simulator. + DEFINES += LIBDATADIR=\\\"$$PWD/data\\\" + DEFINES +=ICONFILE=\\\"$$PWD/icons/mverbiste160.png\\\" +} +else { + # installPrefix must be explicitly exported from deployment.pri first + DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\" + DEFINES +=ICONFILE=\\\"$${installPrefix}/icons/mverbiste160.png\\\" +}