Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 294113

Summary: sci-geosciences/qgis-1.3.0 fails to find plugins
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: New packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2009-11-22 22:18:20 UTC
on start:

"No QGIS data provider plugins found in:
/usr//usr/lib64/qgis
No vector layers can be loaded. Check your QGIS installation"


it is fixed for me by removing the /usr in mycmakeargs to give: 
-D QGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis

qgis does seem to add the prefix:
src/core/qgsapplication.cpp:    setPluginPath( mPrefixPath + "/" + QString( QGIS_PLUGIN_SUBDIR ) );

I also took the /usr from QGIS_LIB_SUBDIR but is that only used for the Mac build?
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2009-11-23 02:01:45 UTC
Fixed. Thanks.