Results 1 to 2 of 2

Thread: Qt4 minimal

  1. #1
    Join Date
    Mar 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Qt4 minimal

    Hi!

    I need to use only the UI capabilities of Qt4 (namely QWizard and the standard widgets, no sql, ...) but I cannot install or compile Qt4 on the destination OS, so I need to ship libQt*.so files with the binary along with all the /usr/lib dependencies.
    The default compilation has too many dependencies that I need to satisfy, this is a problem in size (kb), so my question is: what would be the typical "./configure -no-*" arguments for a minimal dependencies libqt4* setup ?

    Thanks in advance,
    /LL

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt4 minimal

    It really depends wha tyou need. You may search the forum, the issue has been brought a couple of times. Searching for "qconfig" might be a good thing to start with. As for general rules, I tend to disable exceptions, stl, rtti and unused widget styles. I also use a tool such as upx to further reduce the size of the binary, especially if I compile in static mode.

Similar Threads

  1. QRegExp lastIndexOf always minimal?
    By skyphyr in forum Qt Programming
    Replies: 3
    Last Post: 12th December 2006, 10:06

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.