Page 1 of 1

Portable App with IM and mingw

Posted: 2009-06-11T13:10:15-07:00
by mmickey
Hi.
We have a QT4 project which uses ImageMagick (C++ and C). It compiles and works well with linux, and it compiles and works well with windows, but only on the computer on which it was built. When starting on another windows computer (with all dll's in the same folder) it doesn't work, it crashes everytime a functions tries to access an ImageMagick function.

ImageMagick dll's are built static and copied in the same path.
It is initialized with:

Code: Select all

Magick::InitializeMagick(QCoreApplication::applicationDirPath().toAscii().data());
and the include path in the project file is:

Code: Select all

/mingw/include/ImageMagick
How would you do that normally, what's wrong in my attemp?

greets mike

Re: Portable App with IM and mingw

Posted: 2009-06-17T02:39:56-07:00
by mmickey
No idea?

Asked the other way round, how should I include ImageMagick into a C/C++ project such that it should work correctly on windows machines?

Greets mike