Imagemagick Linking to QT and mingw32-make: *** [d

2019-08-31 07:54发布

问题:

I created an application using Imagemagick library with Qt on Mac.

Now that I want to deploy the application for windows:

  • I installed the imagemagick library on my pc,
  • I installed the SDK version of QT 4.7
  • I added my include and lib paths

And when I go run the application I'm getting errors that I think they are related to mingw32. here are the build issues:

and here is the compile output:

Can someone Identify the error ? What do I have to do to deploy the application for windows?

I also tried to use a Mingw32 version of my library but again, It didnt work:

When I put -lmagick after the lib it says file lmagick cannot ne found and when I try to build unticking the shadow build checkbox in the build settings, it give me the errors in the first screenshoot. Thank you

回答1:

See the answer to this question.