--- a/src/hbutils/document/hbdocumentloader_p.cpp Mon May 03 12:48:33 2010 +0300
+++ b/src/hbutils/document/hbdocumentloader_p.cpp Fri May 14 16:09:54 2010 +0300
@@ -281,14 +281,14 @@
QString HbDocumentLoaderPluginManager::pluginFileNameFilter() const
{
-#if defined(Q_OS_LINUX)
- return QString("*.so");
-#elif defined(Q_OS_MAC)
+#if defined(Q_OS_MAC)
return QString("*.dylib");
#elif defined(Q_OS_WIN32)
return QString("*plugin.dll");
+#elif defined(Q_OS_SYMBIAN)
+ return QString("*.qtplugin");
#else
- return QString("*.qtplugin");
+ return QString("*.so");
#endif
}
@@ -337,7 +337,7 @@
foreach( QPluginLoader *loader, mPlugins ) {
const QFileInfo fileInfo( loader->fileName() );
QString compareName;
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN)
compareName.append( "lib" );
#endif
compareName.append( plugin );
@@ -349,7 +349,7 @@
// not found -> try to find it.
const QStringList pathList = pluginPathList();
QString fileNameFilter;
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN)
fileNameFilter.append( "lib" );
#endif
fileNameFilter.append( plugin );