Page 1 of 1

Deploying Magick++ application with QT

Posted: 2008-04-07T04:55:05-07:00
by manojmka
Can someone tell me what dlls or files from ImageMagick to be supplied when deploying an application? It should not be necessary for user to install ImageMagick on his/her machine.

Re: Deploying Magick++ application with QT

Posted: 2008-04-07T05:58:13-07:00
by magick
Run the ImageMagick Windows configure utility and choose a static DLL build. After you build ImageMagick, copy the DLL's and configure files from VisualStudio\bin and include them with your distribution. ImageMagick always checks the folder where it is launched from to find it dependent DLL's and configure files so no Window registry entries are necessary.

Re: Deploying Magick++ application with QT

Posted: 2008-04-07T22:21:22-07:00
by manojmka
I have tried this. I copied all 19 dlls from ImageMagick-6.3.9-0-Q16 folder to my deployment folder. The application runs fine but it does not show up the images.
btw: If I keep the installation folder intact on my development machine, the images are also shown. But as soon as I rename the installed folder, it stops showing the images.

Re: Deploying Magick++ application with QT

Posted: 2008-04-07T23:21:11-07:00
by manojmka
Building statically generates big lib files in lib folder and that will increase my application size. Including dlls from bin folder is not working. Please help.

Re: Deploying Magick++ application with QT

Posted: 2008-04-09T21:56:28-07:00
by manojmka
Hi!

I am just stuck with this. I have tried every method to deploy Image Magick application.
(1) I downloaded and installed ImageMagick-6.4.0-4-Q16-windows-dll.exe. When I try to use the dlls from this, my application always search for the installed location of Image magick for module dlls and coders.
(2) I downloaded and installed ImageMagick-6.4.0-4-Q16-windows-static.exe. It has only lib files and they are very big in size. i don't want to build my application big for only Image Magick.
(3) I downloaded and compiled the windows source code for dynamic dlls keeping the #undef MAGICKCORE_INSTALLED_SUPPORT uncommented. It builds all the dlls, modules and xml files in visualmagick/bin folder. I tried to copy the dlls from this with my application. The application crashes!!
(4) I tried building the source code in static mode but this also creates the big libs which I am not much interested to use.

*Note*
I tried building my application with static libraries from Image Magick but it produces linker errors for all Image Magick functions.

Ths is the image magick forum. I am stuck with this issue. Can I ask help from Image Magick people?
Please help!!

Regards,
Manoj