Skip to content
Permalink
Browse files

Plugin loading: only load .so files on Linux

I've recently lost some hair chasing mysterious crashes at QGIS exit
and finally figured out this was due to an old version of the GRASS
plugin that was loaded together with the new version, because the
current filter is *.so* . So restrict this to plain *.so extension,
which will be consistent with what QgsProviderRegistry::init() does.

For more context
https://lists.osgeo.org/pipermail/qgis-developer/2018-June/053546.html
  • Loading branch information
rouault committed Jun 3, 2018
1 parent 79ba0ee commit 427ac1062594d677175d78ae8412d2f468ac8c64
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgspluginregistry.cpp
@@ -484,7 +484,7 @@ void QgsPluginRegistry::restoreSessionPlugins( const QString &pluginDirString )
#elif ANDROID
QString pluginExt = "*plugin.so";
#else
QString pluginExt = QStringLiteral( "*.so*" );
QString pluginExt = QStringLiteral( "*.so" );
#endif

// check all libs in the current plugin directory and get name and descriptions

0 comments on commit 427ac10

Please sign in to comment.
You can’t perform that action at this time.