[Harbour] SF.net SVN: harbour-project:[11589] trunk/harbour

Pritpal Bedi bedipritpal at hotmail.com
Wed Jul 1 12:40:45 EDT 2009


Hello


Viktor Szakáts wrote:
> 
> I'm also thinking how to make it more efficient.
> 
> What could be done is to remove <QWidget> from hbqt.h,
> but in this case missing (and more granular) dependencies
> should be added to each source file explicitly.
> 
> F.e. for QFont it's enough to add <qfont.h> instead of
> the whole QWidget header, which is huge.
> 
> I believe this way it could be made a little bit faster.
> 
> Also note, that qglobal.h isn't that big, so this is
> not the one we should try to avoid in the first place.
> 

To look into 250 headers and to decide which header 
is explicitly required will be a nightmare. We need some 
other mechanism. So for now <QtGui/QWidget> will stay in
hbqt.h.

Regards
Pritpal Bedi

-- 
View this message in context: http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-11589--trunk-harbour-tp24292195p24293111.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.



More information about the Harbour mailing list