[Qt-interest] include modules vs. files

Israel Brewster israel at frontierflying.com
Tue Feb 3 00:07:06 CET 2009


When looking at the help files for, say, QLineEdit, you see that it is  
in a specific module (QtGui), as well as the specific header for the  
module (QLineEdit). If you are only using a handful of object types in  
your application, is there an advantage to #including just the  
specific headers you need, rather than the entire module? Or would  
that just be wasted effort with no benefit? I would imagine that the  
executable size might be somewhat smaller, but I would like  
confirmation (or refutation) of this. Thanks!

-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------





More information about the Qt-interest-old mailing list