Can anyone help me how to configure magickcore to use the coder dlls which are in the same directory?
I used MSYS on windows to compile imagemagick and use it in a QT programm.
I put all image magick dlls in the application directory. But when i check the programm with dependency walker it shows me, that the libmagickcore dll (which is in the same directory like the QT programm) calls the coder dlls from the directory where imagemagick placed them after compilation (c:\mingw\lib\imagemagick.....\modules-q-16\coder\...) how i can tell magickcore to use the coder dlls which are located in the same directory?
How to tell magickcore.dll to use certain coder dlls
Re: How to tell magickcore.dll to use certain coder dlls
Solved it. If someone runs into the same problem i did:
::_putenv(QString("MAGICK_CODER_MODULE_PATH="+qApp->applicationDirPath()+"").toLatin1());
::_putenv(QString("MAGICK_CODER_MODULE_PATH="+qApp->applicationDirPath()+"").toLatin1());