Deploying Magick++ application with QT

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
manojmka

Deploying Magick++ application with QT

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Deploying Magick++ application with QT

Post 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.
manojmka

Re: Deploying Magick++ application with QT

Post 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.
manojmka

Re: Deploying Magick++ application with QT

Post 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.
manojmka

Re: Deploying Magick++ application with QT

Post 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
Post Reply