[QGIS-trac] [Quantum GIS] #1116: Symlinks in plugin directory
Quantum GIS
qgis at qgis.org
Thu May 29 05:33:47 EDT 2008
#1116: Symlinks in plugin directory
----------------------------------------------------------+-----------------
Reporter: otternase | Owner: nobody
Type: enhancement | Status: new
Priority: minor: annoyance or enhancement | Milestone: Version 0.9.1
Component: Plugins | Version: HEAD
Keywords: qgspluginmanager.cpp Pluginmanager Symlink | Platform_version:
Platform: Linux | Must_fix: No
Status_info: 0 |
----------------------------------------------------------+-----------------
Problem description:
Environment: qgis 0.9.1 Ubuntu 7.10
after developing a small plugin I put the lib in my home directory and
created a symlink in the qgis plugin directory pointing to it. But the
plugin was not listed in the Plugin manager (also no error message). Only
after copying my plugin libfile into the plugin dir it worked.
The basic problem is this call:
qgspluginmanager.cpp:176: QDir pluginDir(txtPluginDir->text(),
sharedLibExtension, QDir::Name | QDir::IgnoreCase, QDir::Files |
QDir::NoSymLinks);
(in current version 0.10.0 it's line 198)
Is there any reason for using the filter QDir::NoSymLinks?
I deleted this filter and it works well on my computer. I didn't test this
on any other OS, so probably there are issues with Windows or MacOS?
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1116>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list