X-Git-Url: http://git.maemo.org/git/?p=mverbiste;a=blobdiff_plain;f=mverbiste.pro;h=df50c4c6693de07c36d1163a61f63220f7c4aedf;hp=bd51e441cf4e3743039814db564ed8b0948b7c86;hb=fc65a0926de9cbfb2f55dd167860170ecc11a3c5;hpb=0f544c4b78f242a3ac985c69874c6e41493cb8f0;ds=sidebyside diff --git a/mverbiste.pro b/mverbiste.pro index bd51e44..df50c4c 100644 --- a/mverbiste.pro +++ b/mverbiste.pro @@ -66,9 +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(debug) { - DEFINES += DEBUG +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\\\" }