On 19 June 2015 at 20:36, Lubomir I. Ivanov <[email protected]> wrote:
> 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.
>

looking at the source code (EnginePrivate::loadCppLibrary) it seems
that the plugins need to be placed in an explicit sub-path:
<executable_path>/grantlee/5.0/

this solves the issue.

lubomir
--
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to