Bug 20841 - QtWebkit build broken (PlatformScrollBar)
Summary: QtWebkit build broken (PlatformScrollBar)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-14 10:38 PDT by Jean-Daniel Guyot
Modified: 2008-09-14 18:14 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Daniel Guyot 2008-09-14 10:38:20 PDT
- 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.