X-Git-Url: http://git.maemo.org/git/?p=mverbiste;a=blobdiff_plain;f=mverbiste.pro;h=df50c4c6693de07c36d1163a61f63220f7c4aedf;hp=24554c8074ec1b9ce125f2bb7eac73777b76d31e;hb=fc65a0926de9cbfb2f55dd167860170ecc11a3c5;hpb=3363c69bdbc38494b966567f4dbf8384402e5877;ds=sidebyside diff --git a/mverbiste.pro b/mverbiste.pro index 24554c8..df50c4c 100644 --- a/mverbiste.pro +++ b/mverbiste.pro @@ -66,5 +66,12 @@ unix: CONFIG += link_pkgconfig unix: PKGCONFIG += libxml-2.0 DEFINES += ICONV_CONST= -# installPrefix must be explicitly exported from deployment.pri first -DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\" + +CONFIG(simulator) { # Build to run on simulator. This needs the + # argument CONFIG+=simulator in the config of "Qt Simulator" target. + DEFINES += LIBDATADIR=\\\"$$PWD/data\\\" +} +else { + # installPrefix must be explicitly exported from deployment.pri first + DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\" +}