Latest Harmattan sources deprecate MDeclarativeCache::applicationDirPath
http://meego.gitorious.org/meegotouch/meegotouch-applauncherd/commit/
1c93b10b0aa6fa528d1a49e029a7158b4e2cea8d/diffs
Change-Id: I4342c567265d192a580d572c6bec8d28ab363120
Reviewed-on: http://codereview.qt-project.org/4275
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
+ QLatin1String("/../Resources/") + path;
#else
QString pathInInstallDir;
-#ifdef HARMATTAN_BOOSTER
- QString applicationDirPath = MDeclarativeCache::applicationDirPath();
-#else
- QString applicationDirPath = QCoreApplication::applicationDirPath();
-#endif
+ const QString applicationDirPath = QCoreApplication::applicationDirPath();
pathInInstallDir = QString::fromAscii("%1/../%2").arg(applicationDirPath, path);
if (QFileInfo(pathInInstallDir).exists())