mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Try to get Windwos to find the plugins
This way the application path (i.e., install directory) will be searched for plugin DLLs. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
60a5d1d070
commit
d4563e54a9
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ void init_ui(int *argcp, char ***argvp)
|
|||
QCoreApplication::setOrganizationName("Subsurface");
|
||||
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
|
||||
QCoreApplication::setApplicationName("Subsurface");
|
||||
// find plugins installed in the application directory (without this SVGs don't work on Windows)
|
||||
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
|
||||
xslt_path = strdup(getSubsurfaceDataPath("xslt").toAscii().data());
|
||||
|
||||
QLocale loc;
|
||||
|
|
Loading…
Add table
Reference in a new issue