Portable App with IM and mingw
Posted: 2009-06-11T13:10:15-07:00
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:
and the include path in the project file is:
How would you do that normally, what's wrong in my attemp?
greets mike
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());
Code: Select all
/mingw/include/ImageMagick
greets mike