diff options
-rw-r--r-- | qt-gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index c868f6648..57e410865 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -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; |