Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinks in plugin directory #11176

Closed
qgib opened this issue May 29, 2008 · 3 comments
Closed

Symlinks in plugin directory #11176

qgib opened this issue May 29, 2008 · 3 comments

Comments

@qgib
Copy link
Contributor

qgib commented May 29, 2008

Author Name: otternase - (otternase -)
Original Redmine Issue: 1116

Redmine category:c++_plugins
Assignee: nobody -


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]]?

@qgib
Copy link
Contributor Author

qgib commented Nov 29, 2008

Author Name: Anne Ghisla (Anne Ghisla)


Hardlinks do work on QGIS 1.0 preview1 compiled on Debian Lenny (and previous versions), "symlinks" on Windows don't. As on Windows there is no UNIX-like hardlink concept, this can be a problem for Windows plugin developers who need to keep a SVN working copy somewhere else than in QGIS plugin folder. On Linux, simply create an hardlink using ln.

Leave open for more technical comments.

@qgib
Copy link
Contributor Author

qgib commented Dec 19, 2009

Author Name: Paolo Cavallini (@pcav)


Can this be closed?

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2010

Author Name: Paolo Cavallini (@pcav)


  • resolution was configured as worksforme
  • status_id was changed from Open to Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant