Le 02/06/2012 19:08, Adrien Prokopowicz a écrit :
> Hi all,
>
> Since a few weeks I found that the gb.qt4 component takes a lot of time to
> compile. I was wondering why and I found that there were a lot of #includes in
> CWindow.h (as in many other .h files) :
>
> #include<QMoveEvent>
> #include<QCloseEvent>
> #include<QShowEvent>
> #include<QResizeEvent>
> #include<QKeyEvent>
> #include<QMainWindow>
> #include<QHash>
> #include<QList>
> #include<QMenuBar>
> #include<QEvent>
> #include<QPushButton>
> #include<QSizeGrip>
> #include<QPoint>
>
> ... but in the whole CWindow.h file I haven't found any reference to
> QMoveEvent, QCloseEvent, QMainWindow, QMenuBar, QPushButton ... and others.
>
> So my question is : why include all these files ? Is there some hidden stuff 
> or
> other things that I don't know ? :-)
>
> Regards,
> Adrien.
>

You can try to remove some of them and see if it compiles. I never 
checked that.

Many of these includes were added by the Qt3 -> Qt4 converter when gb.qt 
was transformed into gb.qt4.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to