Changeset 93600 in webkit
- Timestamp:
- Aug 23, 2011 6:26:26 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r93597 r93600 1 2011-08-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 3 [Qt] Fix build on Lion 4 5 https://bugs.webkit.org/show_bug.cgi?id=66770 6 7 Reviewed by Andreas Kling. 8 9 We were mistakenly picking up mac/WebCoreSystemInterface.h instead of 10 the Qt one, and building on Lion revealed this when a typedef for 11 IOSurfaceRef was wrapped in PLATFORM(MAC). 12 13 For now we fix this by including WebCoreSystemInterface using 14 brackets, so that we'll pick up the right file based on the 15 include paths. This also means exposing a few missing enums 16 in our own version of the file, so those were added. 17 18 Lasty, we need to link against the right system interface library 19 on Lion. 20 21 * platform/mac/WebVideoFullscreenHUDWindowController.mm: 22 * platform/qt/WebCoreSystemInterface.h: 23 1 24 2011-08-23 Steve Block <steveblock@google.com> 2 25 -
trunk/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm
r89617 r93600 30 30 31 31 #import "FloatConversion.h" 32 #import "WebCoreSystemInterface.h"32 #import <WebCoreSystemInterface.h> 33 33 #import <WebCore/HTMLMediaElement.h> 34 34 #import <wtf/RetainPtr.h> -
trunk/Source/WebCore/platform/qt/WebCoreSystemInterface.h
r89617 r93600 80 80 extern void (*wkWindowSetScaledFrame)(NSWindow *, NSRect, NSRect); 81 81 82 typedef enum { 83 wkMediaUIControlTimeline, 84 wkMediaUIControlSlider, 85 wkMediaUIControlPlayPauseButton, 86 wkMediaUIControlExitFullscreenButton, 87 wkMediaUIControlRewindButton, 88 wkMediaUIControlFastForwardButton, 89 wkMediaUIControlVolumeUpButton, 90 wkMediaUIControlVolumeDownButton 91 } wkMediaUIControlType; 92 82 93 } 83 94 -
trunk/Source/WebKit/qt/ChangeLog
r93490 r93600 1 2011-08-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 3 [Qt] Fix build on Lion 4 5 https://bugs.webkit.org/show_bug.cgi?id=66770 6 7 Reviewed by Andreas Kling. 8 9 We were mistakenly picking up mac/WebCoreSystemInterface.h instead of 10 the Qt one, and building on Lion revealed this when a typedef for 11 IOSurfaceRef was wrapped in PLATFORM(MAC). 12 13 For now we fix this by including WebCoreSystemInterface using 14 brackets, so that we'll pick up the right file based on the 15 include paths. This also means exposing a few missing enums 16 in our own version of the file, so those were added. 17 18 Lasty, we need to link against the right system interface library 19 on Lion. 20 21 * QtWebKit.pro: 22 1 23 2011-08-21 Lindsay Mathieson <lindsay.mathieson@gmail.com> 2 24 -
trunk/Source/WebKit/qt/QtWebKit.pro
r93093 r93600 257 257 DARWIN_VERSION = $$split(QMAKE_HOST.version, ".") 258 258 DARWIN_MAJOR_VERSION = $$first(DARWIN_VERSION) 259 equals(DARWIN_MAJOR_VERSION, "1 0") {260 LIBS += $$SOURCE_DIR/../WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a261 } else {262 equals(DARWIN_MAJOR_VERSION, "9") {263 LIBS+= $$SOURCE_DIR/../WebKitLibraries/libWebKitSystemInterfaceLeopard.a264 }259 equals(DARWIN_MAJOR_VERSION, "11") { 260 LIBS += $$SOURCE_DIR/../WebKitLibraries/libWebKitSystemInterfaceLion.a 261 } else:equals(DARWIN_MAJOR_VERSION, "10") { 262 LIBS += $$SOURCE_DIR/../WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a 263 } else:equals(DARWIN_MAJOR_VERSION, "9") { 264 LIBS += $$SOURCE_DIR/../WebKitLibraries/libWebKitSystemInterfaceLeopard.a 265 265 } 266 266 }
Note: See TracChangeset
for help on using the changeset viewer.