Learn Qt

Teaching Qt® to the world!

Flower

Deployment Tips

There is just loads of issues that one can run into when deploying across multiple platforms. So much to take into account, and so many details to handle.

As Qt supports tree desktop platforms, there are at least three deployment methods. However, the Linux platform is pretty fragmented when it comes to this, so here, reading the local packaging rules might be a good idea.

For Windows, I’ve used mingw in combination with InnoSetup. InnoSetup is free (as in beer), but solves the task nicely. Downloading the dependency walker helps figuring out which Qt dll’s that are needed (not deploying all of Qt can save loads of megs). If you’re using mingw, do not forget the mingwm10.dll, and make sure that you actually build a release version of your software (debug symbols are heavy).

When it comes to the OS X platform, my experience is very limited (I’ve used a MacMini to play music from iTunes… that’s about it). To the rescue comes the blog entry Deploying Qt-based frameworks made simple by Dominik Kapusta. He tells us about the little script macdeployqt that seems to do the job.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz

Leave a Reply

You must be logged in to post a comment.