qtbase failed to compile :(
In file included from styles/qgtkpainter.cpp:43:
styles/qgtkpainter_p.h:74: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:74: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:79: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:79: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:83: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:83: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:85: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:85: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:87: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:87: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:89: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:89: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:91: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:91: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:93: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:93: error: expected ',' or '...' before '&' token
In file included from styles/qgtkpainter.cpp:43:
styles/qgtkpainter_p.h:95: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:95: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:97: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:97: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:99: error: ISO C++ forbids declaration of 'QRect' with
no type
styles/qgtkpainter_p.h:99: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:101: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtkpainter_p.h:101: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:103: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtkpainter_p.h:103: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:104: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtkpainter_p.h:104: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:106: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtkpainter_p.h:106: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:107: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtkpainter_p.h:107: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:110: error: ISO C++ forbids declaration of 'QSize'
with no type
styles/qgtkpainter_p.h:110: error: expected ',' or '...' before '&' token
styles/qgtkpainter_p.h:117: error: 'QRect' does not name a type
In file included from styles/qgtkpainter.cpp:43:
styles/qgtkpainter_p.h: In member function 'void
QGtkPainter::setClipRect(int)':
styles/qgtkpainter_p.h:74: error: 'm_cliprect' was not declared in this scope
styles/qgtkpainter_p.h:74: error: 'rect' was not declared in this scope
styles/qgtkpainter_p.h: At global scope:
styles/qgtkpainter_p.h:74: warning: unused parameter 'QRect'
styles/qgtkpainter.cpp:69: error: prototype for 'QString
QGtkPainter::uniqueName(const QString&, GtkStateType, GtkShadowType, const
QSize&, GtkWidget*)' does not match any in class 'QGtkPainter'
styles/qgtkpainter_p.h:110: error: candidate is: static QString
QGtkPainter::uniqueName(const QString&, GtkStateType, GtkShadowType, int)
make[3]: *** [.obj/debug-shared/qgtkpainter.o] Error 1
In file included from
../../include/QtWidgets/5.0.0/QtWidgets/private/qgtkpainter_p.h:2,
from styles/qgtk2painter_p.h:60,
from styles/qgtk2painter.cpp:43:
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:74:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:74:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:79:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:79:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:83:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:83:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:85:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:85:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:87:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:87:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:89:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:89:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:91:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:91:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:93:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:93:
error: expected ',' or '...' before '&' token
In file included from
../../include/QtWidgets/5.0.0/QtWidgets/private/qgtkpainter_p.h:2,
from styles/qgtk2painter_p.h:60,
from styles/qgtk2painter.cpp:43:
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:95:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:95:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:97:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:97:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:99:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:99:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:101:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:101:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:103:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:103:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:104:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:104:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:106:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:106:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:107:
error: ISO C++ forbids declaration of 'QRect' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:107:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:110:
error: ISO C++ forbids declaration of 'QSize' with no type
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:110:
error: expected ',' or '...' before '&' token
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:117:
error: 'QRect' does not name a type
In file included from
../../include/QtWidgets/5.0.0/QtWidgets/private/qgtkpainter_p.h:2,
from styles/qgtk2painter_p.h:60,
from styles/qgtk2painter.cpp:43:
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:
In member function 'void QGtkPainter::setClipRect(int)':
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:74:
error: 'm_cliprect' was not declared in this scope
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:74:
error: 'rect' was not declared in this scope
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:
At global scope:
../../include/QtWidgets/5.0.0/QtWidgets/private/../../../../../src/widgets/styles/qgtkpainter_p.h:74:
warning: unused parameter 'QRect'
In file included from styles/qgtk2painter.cpp:43:
styles/qgtk2painter_p.h:68: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:68: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:72: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:72: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:74: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:74: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:76: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:76: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:78: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:78: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:80: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:80: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:82: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:82: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:84: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:84: error: expected ',' or '...' before '&' token
In file included from styles/qgtk2painter.cpp:43:
styles/qgtk2painter_p.h:86: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:86: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:88: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:88: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:90: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:90: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:92: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:92: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:93: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:93: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:95: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:95: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:96: error: ISO C++ forbids declaration of 'QRect'
with no type
styles/qgtk2painter_p.h:96: error: expected ',' or '...' before '&' token
styles/qgtk2painter_p.h:99: error: 'QPixmap' does not name a type
styles/qgtk2painter.cpp:139: error: no 'QPixmap
QGtk2Painter::renderTheme(uchar*, uchar*, const QRect&) const' member function
declared in class 'QGtk2Painter'
styles/qgtk2painter.cpp:213: error: prototype for 'void
QGtk2Painter::paintBoxGap(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkShadowType, GtkPositionType, gint, gint, GtkStyle*)' does not match any in
class 'QGtk2Painter'
styles/qgtk2painter_p.h:68: error: candidate is: virtual void
QGtk2Painter::paintBoxGap(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:280: error: prototype for 'void
QGtk2Painter::paintBox(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkShadowType, GtkStyle*, const QString&)' does not match any in class
'QGtk2Painter'
styles/qgtk2painter_p.h:71: error: candidate is: virtual void
QGtk2Painter::paintBox(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:342: error: prototype for 'void
QGtk2Painter::paintHline(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkStyle*, int, int, int, const QString&)' does not match any in class
'QGtk2Painter'
styles/qgtk2painter_p.h:74: error: candidate is: virtual void
QGtk2Painter::paintHline(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:371: error: prototype for 'void
QGtk2Painter::paintVline(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkStyle*, int, int, int, const QString&)' does not match any in class
'QGtk2Painter'
styles/qgtk2painter_p.h:76: error: candidate is: virtual void
QGtk2Painter::paintVline(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:402: error: prototype for 'void
QGtk2Painter::paintExpander(GtkWidget*, const gchar*, const QRect&,
GtkStateType, GtkExpanderStyle, GtkStyle*, const QString&)' does not match any
in class 'QGtk2Painter'
styles/qgtk2painter_p.h:78: error: candidate is: virtual void
QGtk2Painter::paintExpander(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:429: error: prototype for 'void
QGtk2Painter::paintFocus(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkStyle*, const QString&)' does not match any in class 'QGtk2Painter'
styles/qgtk2painter_p.h:80: error: candidate is: virtual void
QGtk2Painter::paintFocus(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:453: error: prototype for 'void
QGtk2Painter::paintResizeGrip(GtkWidget*, const gchar*, const QRect&,
GtkStateType, GtkShadowType, GdkWindowEdge, GtkStyle*, const QString&)' does
not match any in class 'QGtk2Painter'
styles/qgtk2painter_p.h:82: error: candidate is: virtual void
QGtk2Painter::paintResizeGrip(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:477: error: prototype for 'void
QGtk2Painter::paintArrow(GtkWidget*, const gchar*, const QRect&, GtkArrowType,
GtkStateType, GtkShadowType, gboolean, GtkStyle*, const QString&)' does not
match any in class 'QGtk2Painter'
styles/qgtk2painter_p.h:84: error: candidate is: virtual void
QGtk2Painter::paintArrow(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:511: error: prototype for 'void
QGtk2Painter::paintHandle(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkShadowType, GtkOrientation, GtkStyle*)' does not match any in class
'QGtk2Painter'
styles/qgtk2painter_p.h:86: error: candidate is: virtual void
QGtk2Painter::paintHandle(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:540: error: prototype for 'void
QGtk2Painter::paintSlider(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkShadowType, GtkStyle*, GtkOrientation, const QString&)' does not match any
in class 'QGtk2Painter'
styles/qgtk2painter_p.h:88: error: candidate is: virtual void
QGtk2Painter::paintSlider(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:569: error: prototype for 'void
QGtk2Painter::paintShadow(GtkWidget*, const gchar*, const QRect&, GtkStateType,
GtkShadowType, GtkStyle*, const QString&)' does not match any in class
'QGtk2Painter'
styles/qgtk2painter_p.h:90: error: candidate is: virtual void
QGtk2Painter::paintShadow(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:589: error: prototype for 'void
QGtk2Painter::paintFlatBox(GtkWidget*, const gchar*, const QRect&,
GtkStateType, GtkShadowType, GtkStyle*, const QString&)' does not match any in
class 'QGtk2Painter'
styles/qgtk2painter_p.h:92: error: candidate is: virtual void
QGtk2Painter::paintFlatBox(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:614: error: prototype for 'void
QGtk2Painter::paintExtention(GtkWidget*, const gchar*, const QRect&,
GtkStateType, GtkShadowType, GtkPositionType, GtkStyle*)' does not match any in
class 'QGtk2Painter'
styles/qgtk2painter_p.h:93: error: candidate is: virtual void
QGtk2Painter::paintExtention(GtkWidget*, const gchar*, int)
styles/qgtk2painter.cpp:640: error: prototype for 'void
QGtk2Painter::paintOption(GtkWidget*, const QRect&, GtkStateType,
GtkShadowType, GtkStyle*, const QString&)' does not match any in class
'QGtk2Painter'
styles/qgtk2painter_p.h:95: error: candidate is: virtual void
QGtk2Painter::paintOption(GtkWidget*, int)
styles/qgtk2painter.cpp:671: error: prototype for 'void
QGtk2Painter::paintCheckbox(GtkWidget*, const QRect&, GtkStateType,
GtkShadowType, GtkStyle*, const QString&)' does not match any in class
'QGtk2Painter'
styles/qgtk2painter_p.h:96: error: candidate is: virtual void
QGtk2Painter::paintCheckbox(GtkWidget*, int)
make[3]: *** [.obj/debug-shared/qgtk2painter.o] Error 1
make[2]: *** [sub-widgets-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtbase] Error 2
Build log:
http://testresults.qt-project.org/ci/QtBase_master_Integration/build_04552/linux-g++-32_developer-build_Ubuntu_10.04_x86/log.txt.gz
Tested changes (refs/builds/master_1352403867):
http://codereview.qt-project.org/39201 [PS1] - Cleanup old signal handler
mechanisms
http://codereview.qt-project.org/39178 [PS1] - test: Mark
tst_QLocale::macDefaultLocale as XFAIL
http://codereview.qt-project.org/39089 [PS1] - Fix warnings about unused
variables in stylehelper.
http://codereview.qt-project.org/39095 [PS8] - Refactor and cleanup
QGtk(2)Painter
http://codereview.qt-project.org/37256 [PS12] - Insert the Qt major version
(5) in the library names
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports