Results 1 to 6 of 6

Thread: Qt with C++ application size

  1. #1
    Join Date
    Jun 2011
    Posts
    3
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Qt with C++ application size

    I can't download the Qt IDE right now. 1.5GB vs. 60KB connection with 500MB download limit. So, excuse me my curiosity as I can't try it right now.

    The question is: If I want to use the Networking feature of Qt, what is the typical size of a "hello world" program that only includes the Networking library(s)?
    I want the program to work on all supported platforms.

    Again, excuse me as I can't try Qt right now.

  2. #2
    Join Date
    Jun 2011
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt with C++ application size

    hi,w4j3d;
    if you want to support all platforms,you must use qt Networking library;
    you should read qtassistant ,there is example code with qt.
    u can downlaod qt lib and qt creater.or u download it with bittorent.

  3. #3
    Join Date
    Jun 2011
    Posts
    3
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt with C++ application size

    I understand I have to use the lib.

    I'm asking about the size of a "hello world" application that uses the Qt Network Library. In other words, I want to see how much MBs (Or KBs) Qt Network Library adds to C++ applications.

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

    Default Re: Qt with C++ application size

    A basic GUI app with networking (i.e. needs QtCore, QtGui and QtNetwork) runs around 13MB (Windows, MinGW compiler). I think the MSVC-built libraries are a little smaller.

  5. #5
    Join Date
    Jun 2011
    Posts
    3
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt with C++ application size



    I intentionally left the GUI part. Can you please tell me the size without GUI? i.e. a server/client application that works on commands.

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

    Default Re: Qt with C++ application size

    The QtGui DLL is about 9.5 MB
    "We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
    If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.

Similar Threads

  1. Reduces size of mac application
    By moh.gup@gmail.com in forum Installation and Deployment
    Replies: 4
    Last Post: 7th November 2010, 16:37
  2. Replies: 4
    Last Post: 20th November 2009, 13:25
  3. Qt application size problem : it is very big
    By mourad in forum Qt Programming
    Replies: 3
    Last Post: 15th May 2008, 17:55
  4. how to reduce the size of qt/e application
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 16th August 2007, 16:19
  5. How to know the size of the application
    By Sarma in forum Qt Programming
    Replies: 2
    Last Post: 7th March 2006, 12:02

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
  •  
Qt is a trademark of The Qt Company.