diff -r 7dd137878ff8 -r e4f038c420f7 homescreenapp/hsapplication/src/hshomescreen.cpp --- a/homescreenapp/hsapplication/src/hshomescreen.cpp Wed Aug 18 10:33:57 2010 +0300 +++ b/homescreenapp/hsapplication/src/hshomescreen.cpp Mon Sep 13 13:03:23 2010 +0300 @@ -135,12 +135,25 @@ void HsHomeScreen::registerServicePlugins() { HSTEST_FUNC_ENTRY("HS::HsHomeScreen::registerServicePlugins()"); + +#ifdef Q_OS_SYMBIAN + foreach(QFileInfo drive, QDir::drives()) { + QApplication::addLibraryPath(drive.absolutePath() + + QLatin1String("resource/qt/plugins/homescreen")); + } +#else + QApplication::addLibraryPath("resource/qt/plugins/homescreen"); +#endif QServiceManager serviceManager; QStringList pluginPaths; pluginPaths << "private/20022F35"; + +#ifndef Q_OS_SYMBIAN + pluginPaths << "resource/qt/plugins/homescreen"; +#endif QFileInfoList drives = QDir::drives(); foreach(const QString pluginPath, pluginPaths) { @@ -205,4 +218,4 @@ #ifndef Q_OS_SYMBIAN #pragma CTC ENDSKIP #endif // Q_OS_SYMBIAN -#endif //COVERAGE_MEASUREMENT \ No newline at end of file +#endif //COVERAGE_MEASUREMENT