On 19 June 2015 at 14:28, Tomaz Canabrava <[email protected]> wrote: > Answering from phone > Maybe Grantlee opens the Dll via dllopen and it needs to be in a folder > different from the main exec. ( qt_library_dir for instance ) > I'll take a look when I arrive at work. > >
i've tried using: grantleEngine->addPluginPath(QCoreApplication::applicationDirPath()); and it doesn't work. also, here, i do see an old patch that makes Grantlee auto-search for the plugins in ../lib relative to the executable path: http://quickgit.kde.org/?p=emerge.git&a=blob&h=e0eabfd85639c4cc54603f2caa2dd3201616424f&hb=117b8e8501012566c63ce8e996e0bbca4de9df8c&f=portage%2Fkdesupport%2Fgrantlee%2F0001-add-plugin-path-depending-on-executable-location.patch which seems weird, since if the distributed application is in "c:\program files\myapp", "c:\program files\lib" makes no sense. lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
