PDA

View Full Version : Qt with C++ application size



w4j3d
22nd June 2011, 04:24
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.

zxwmail
22nd June 2011, 05:37
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.

w4j3d
22nd June 2011, 06:20
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.

ChrisW67
22nd June 2011, 08:24
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.

w4j3d
22nd June 2011, 10:33
:)

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.

ChrisW67
22nd June 2011, 10:37
The QtGui DLL is about 9.5 MB