Results 1 to 7 of 7

Thread: Packaging QT desktop application

  1. #1
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Question Packaging QT desktop application

    I have developed one sample application using QT and OpenCv. When you clicke on button it will open file open dialog box and run the video in display label.
    Finally, if I want to run the exe on another computer, how do I do it without including supporting dlls (both for QT and Opencv). So that the size of my application would remain less because I am using some functionalities out of all

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Packaging QT desktop application

    you can compile qt with unwanted features turned off.

  3. #3
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Packaging QT desktop application

    Hi nish,

    Thanks for reply. Could you please tell me how to do it?

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Packaging QT desktop application

    Quote Originally Posted by pallavi12345 View Post
    Finally, if I want to run the exe on another computer, how do I do it without including supporting dlls (both for QT and Opencv). So that the size of my application would remain less because I am using some functionalities out of all
    You read the Deploying Qt Applications documentation, assess your ability to comply with the Qt and other* licenses, assess your ability to live without the Qt plugin architecture, and build a static Qt. You then need to build OpenCV as a static library and accept any limitations that might come with that decision. Build your application using the static libraries.

    I suspect the effort is not worth the gain, but that's your call.

    * For example: Qt Commercial Edition licensees that wish to distribute applications that use the QtWebKit module need to be aware of their obligations under the GNU Library General Public License (LGPL). QtScript is licensed under the GNU Library General Public License. Individual contributor names and copyright dates can be found inline in the code.

  5. The following 2 users say thank you to ChrisW67 for this useful post:

    jose_inesta (23rd May 2012), pallavi12345 (23rd May 2012)

  6. #5
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Question Re: Packaging QT desktop application

    I have installed QTSDK QT 4.7.4 on windows. To re-configure it to trun some features off, I searched for configure.exe in C:\QtSDK\Desktop\Qt\4.7.4\msvc2008
    But I could not find it.. is it womewhere else?

  7. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Packaging QT desktop application

    Yes, in the Qt source code.

    The Qt SDK does not, by default, install the Qt source code, just a compiled version suitable for a particular compiler tool chain (MingW or MSVC). So, the first thing you need to do is download the Qt source code matching the binary version you have installed already. You do this using the Qt SDK Maintenance Tool.

  8. #7
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Packaging QT desktop application

    Resolved thanks

Similar Threads

  1. Size of distribution of QT desktop application
    By mvbhavsar in forum Newbie
    Replies: 6
    Last Post: 25th March 2011, 07:43
  2. Replies: 1
    Last Post: 2nd February 2009, 10:04
  3. Related to Packaging of Qt4 Application
    By archanasubodh in forum Installation and Deployment
    Replies: 1
    Last Post: 21st March 2008, 14:55
  4. Desktop application shadow?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 18th November 2006, 02:42

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.