Results 1 to 3 of 3

Thread: What is the proper way to deploy a qt application

  1. #1
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default What is the proper way to deploy a qt application

    What is the proper way to deploy a qt application?

    Installation programs
    Static/Dynamic linking
    etc

    what are the patterns/best practices for deploying a qt application.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: What is the proper way to deploy a qt application

    On which platform?

    Static / dynamic is primarily about preference. Static linking gives a huge executable, and you will have to handle plugins with care. Dynamic means more files to keep track of.

    On Linux, you simply rely on the Qt version provided by the distribution. Build a deb or an rpm depending on your target platform.

    On Windows, the dependency walker is your friend. It lets you track the dll dependencies (if using mingw, do not forget the mingw run-time dll). All you need to do is to keep track of the plugins that you rely on.

    On OS X, I have no personal experience, but you will have to build a bundle of some sort.

  3. #3
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: What is the proper way to deploy a qt application

    Cool thanks. I was watching a qt video saying that if you are using the open source version that you have to dynamically link to the qt libraries other than that i will try out the rest. Mostly Linux and Windows.

Similar Threads

  1. problems to deploy qt application
    By radeberger in forum Installation and Deployment
    Replies: 8
    Last Post: 31st May 2010, 11:52
  2. Has anybody ever able to deploy qt application?
    By Tarun in forum Installation and Deployment
    Replies: 16
    Last Post: 22nd February 2010, 09:08
  3. how to deploy my application
    By yuvaraj.yadav in forum Installation and Deployment
    Replies: 5
    Last Post: 9th April 2009, 10:21
  4. Deploy Qt application on Mac OS X
    By giandrea77 in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2009, 09:34
  5. Deploy Qt application on Mac OS X 10.4 Tiger
    By mourad in forum Installation and Deployment
    Replies: 1
    Last Post: 30th March 2008, 16:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.