homescreenapp/hsapplication/src/hshomescreen.cpp
changeset 92 6727c5d0afc7
parent 77 4b195f3bea29
--- a/homescreenapp/hsapplication/src/hshomescreen.cpp	Thu Sep 02 20:17:27 2010 +0300
+++ b/homescreenapp/hsapplication/src/hshomescreen.cpp	Fri Sep 17 08:27:54 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