- Version of Qt : 4.4.1 - Mac OS X.5 Here are some steps to reproduce the issue : 1. Get a fresh svn version of Webkit 2. Set QMAKESPEC to "macx-g++" (#15614) 3. Run ./WebKitTools/Scripts/build-webkit --qt --release One get the error: ../../../WebCore/platform/qt/PlatformScrollBarQt.cpp: In constructor ‘WebCore::PlatformScrollbar::PlatformScrollbar(WebCore::ScrollbarClient*, WebCore::ScrollbarOrientation, WebCore::ScrollbarControlSize)’: ../../../WebCore/platform/qt/PlatformScrollBarQt.cpp:69: error: ‘horizontalScrollbarHeight’ was not declared in this scope ../../../WebCore/platform/qt/PlatformScrollBarQt.cpp:73: error: ‘verticalScrollbarWidth’ was not declared in this scope ../../../WebCore/platform/qt/PlatformScrollBarQt.cpp: In member function ‘virtual void WebCore::PlatformScrollbar::paint(WebCore::GraphicsContext*, const WebCore::IntRect&)’: ../../../WebCore/platform/qt/PlatformScrollBarQt.cpp:180: error: ‘horizontalScrollbarHeight’ was not declared in this scope ../../../WebCore/platform/qt/PlatformScrollBarQt.cpp:183: error: ‘verticalScrollbarWidth’ was not declared in this scope horizontalScrollbarHeight & verticalScrollbarWidth functions were removed at rev. 36400 but some references remain in WebCore/platform/qt/PlatformScrollBarQt.cpp.