Skip to content
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
  • 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 )
QString pluginExt = "*";
QString pluginExt = QStringLiteral( "*.so*" );
QString pluginExt = QStringLiteral( "*.so" );

// 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.