Results 1 to 2 of 2

Thread: QtBrowserPlugin without QtGui.dll?

  1. #1
    Join Date
    Apr 2009
    Posts
    58
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QtBrowserPlugin without QtGui.dll?

    Hi I have made a browser plugin that does some audio processing (processing is done in C with a C++ wrapper). There are no UI driven inputs and outputs. The UI is plain HTML fetched from the web and some javascript interaction is done.

    The problem is that I need to keep the size of the plugin as minimum as possible, but QtGui.dll is of 9MB. Is there a way I can do away with QtGui library in the browserplugin or make the size reduce.

    Will static buildin of Qt libraries help?

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QtBrowserPlugin without QtGui.dll?

    Quote Originally Posted by anupamgee View Post
    Is there a way I can do away with QtGui library in the browserplugin
    No, as it is used.

    or make the size reduce.
    Yes, there are tools to reduce the size of binaries. (strip or something like that, but google knows this better than me)

    Will static buildin of Qt libraries help?
    Google for static building and you'll know why this question doesn't make sense :-)
    What does static building mean?
    I'll give you a hint: your binary will be even bigger than shared building

Similar Threads

  1. [QtGui] Problem with a QTextBrowser
    By Auliyaa in forum Qt Programming
    Replies: 2
    Last Post: 19th February 2010, 07:51
  2. Which to include QtGui or QLabel, QLineEdit...
    By MIH1406 in forum Qt Programming
    Replies: 3
    Last Post: 8th October 2009, 12:23
  3. Problem with QtBrowserPlugin - examples dont work.
    By robert_ugo in forum Installation and Deployment
    Replies: 0
    Last Post: 19th March 2009, 19:07
  4. Qt 4.3.3 - Server build without QtGui?
    By Mike in forum Installation and Deployment
    Replies: 7
    Last Post: 12th February 2008, 19:49
  5. using QtGui
    By nupul in forum Qt Programming
    Replies: 5
    Last Post: 7th April 2006, 12:36

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.