[Gambas-user] gb.qt4 compilation time

Adrien Prokopowicz adrien.prokopowicz at ...626...
Sat Jun 2 19:08:27 CEST 2012


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.




More information about the User mailing list