Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21984

QtWebKit doesn't compile for Mac 32bit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.0
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Mac OS X 10.6
      Qt 4.8 18943d3203a794f3f3173be6ec51c15db83db9e1, configured with "-nokia-developer -no-pch -arch x86"
    • Platform/s:
      macOS
    • Commits:
      5778a20b4f6acfa9016258ac05e05a073bbd1994

      Description

      distcc[73474] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.mm on localhost failed
      make[3]: *** [.obj/debug-shared/WebCoreSystemInterface.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:8,
      from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:34,
      from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
      from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qmacdefines_mac.h:113,
      from ../../../../../include/QtGui/qmacdefines_mac.h:1,
      from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qwindowdefs.h:99,
      from ../../../../../include/QtGui/qwindowdefs.h:1,
      from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qregion.h:47,
      from ../../../../../include/QtGui/qregion.h:1,
      from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qmatrix.h:46,
      from ../../../../../include/QtGui/qmatrix.h:1,
      from ../../../../../lib/QtGui.framework/Versions/4/Headers/qtransform.h:44,
      from ../../../../../lib/QtGui.framework/Versions/4/Headers/QTransform:1,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:44,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/GraphicsLayer.h:38,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:45,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayerPrivate.h:31,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.h:31,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:30:
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: conflicting declaration 'typedef struct _NSSize NSSize'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatSize.h:40: error: 'NSSize' has a previous declaration as 'typedef struct CGSize NSSize'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: conflicting declaration 'typedef struct _NSRect NSRect'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntRect.h:38: error: 'NSRect' has a previous declaration as 'typedef struct CGRect NSRect'
      distcc[73468] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/plugins/mac/PluginViewMac.mm on localhost failed
      make[3]: *** [.obj/debug-shared/PluginViewMac.o] Error 1
      In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:49:
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:32: error: conflicting declaration 'typedef struct CGPoint NSPoint'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: 'NSPoint' has a previous declaration as 'typedef struct _NSPoint NSPoint'
      In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:32:
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:32: error: conflicting declaration 'typedef struct CGPoint NSPoint'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: 'NSPoint' has a previous declaration as 'typedef struct _NSPoint NSPoint'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:33: error: conflicting declaration 'typedef struct CGRect NSRect'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: 'NSRect' has a previous declaration as 'typedef struct _NSRect NSRect'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm: In static member function 'static void WebCore::MediaPlayerPrivateQTKit::getSitesInMediaCache(WTF::Vector<WTF::String, 0ul>&)':
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:1514: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
      distcc[73560] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm on localhost failed
      make[3]: *** [.obj/release-shared/MediaPlayerPrivateQTKit.o] Error 1
      make[2]: *** [release-all] Error 2
      make[2]: *** Waiting for unfinished jobs....
      In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/ViewportArguments.h:30,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/Document.h:42,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/Element.h:28,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/dom/StyledElement.h:28,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLElement.h:26,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLMediaElement.h:31,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/include/WebCore/HTMLMediaElement.h:1,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:33:
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntSize.h:35: error: conflicting declaration 'typedef struct CGSize NSSize'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: 'NSSize' has a previous declaration as 'typedef struct _NSSize NSSize'
      In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:36,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLMediaElement.h:34,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/include/WebCore/HTMLMediaElement.h:1,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:33:
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntRect.h:38: error: conflicting declaration 'typedef struct CGRect NSRect'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: 'NSRect' has a previous declaration as 'typedef struct _NSRect NSRect'
      In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatPoint.h:30,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/GraphicsLayer.h:33,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:45,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/html/HTMLMediaElement.h:34,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/include/WebCore/HTMLMediaElement.h:1,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm:33:
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatSize.h:40: error: conflicting declaration 'typedef struct CGSize NSSize'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: 'NSSize' has a previous declaration as 'typedef struct _NSSize NSSize'
      distcc[73601] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm on localhost failed
      make[3]: *** [.obj/debug-shared/WebVideoFullscreenHUDWindowController.o] Error 1
      In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h:8,
      from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:34,
      from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
      from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qmacdefines_mac.h:113,
      from ../../../../../include/QtGui/qmacdefines_mac.h:1,
      from ../../../../../include/QtGui/../../../4.8/src/gui/kernel/qwindowdefs.h:99,
      from ../../../../../include/QtGui/qwindowdefs.h:1,
      from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qregion.h:47,
      from ../../../../../include/QtGui/qregion.h:1,
      from ../../../../../include/QtGui/../../../4.8/src/gui/painting/qmatrix.h:46,
      from ../../../../../include/QtGui/qmatrix.h:1,
      from ../../../../../lib/QtGui.framework/Versions/4/Headers/qtransform.h:44,
      from ../../../../../lib/QtGui.framework/Versions/4/Headers/QTransform:1,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:44,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/GraphicsLayer.h:38,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayer.h:45,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/MediaPlayerPrivate.h:31,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.h:31,
      from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:30:
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:58: error: conflicting declaration 'typedef struct _NSSize NSSize'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/FloatSize.h:40: error: 'NSSize' has a previous declaration as 'typedef struct CGSize NSSize'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: conflicting declaration 'typedef struct _NSRect NSRect'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/IntRect.h:38: error: 'NSRect' has a previous declaration as 'typedef struct CGRect NSRect'
      In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:49:
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/qt/WebCoreSystemInterface.h:32: error: conflicting declaration 'typedef struct CGPoint NSPoint'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: 'NSPoint' has a previous declaration as 'typedef struct _NSPoint NSPoint'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm: In static member function 'static void WebCore::MediaPlayerPrivateQTKit::getSitesInMediaCache(WTF::Vector<WTF::String, 0ul>&)':
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm:1514: warning: Mac OS X version 10.5 or later is needed for use of foreach-collection-statement
      distcc[73517] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm on localhost failed
      make[3]: *** [.obj/debug-shared/MediaPlayerPrivateQTKit.o] Error 1
      distcc[73613] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm on lasse-mac.local. failed
      distcc[73613] (dcc_build_somewhere) Warning: remote compilation of '/Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm' failed, retrying locally
      distcc[73613] Warning: failed to distribute /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm to lasse-mac.local., running locally instead
      In file included from /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm:31:
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebCoreSystemInterface.h:62: error: conflicting declaration 'typedef struct CGPoint NSPoint'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:50: error: 'NSPoint' has a previous declaration as 'typedef struct _NSPoint NSPoint'
      /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebCoreSystemInterface.h:63: error: conflicting declaration 'typedef struct CGRect NSRect'
      /System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:66: error: 'NSRect' has a previous declaration as 'typedef struct _NSRect NSRect'
      distcc[73613] ERROR: compile /Users/ziller/git/4.8/src/3rdparty/webkit/Source/WebCore/platform/mac/WebWindowAnimation.mm on localhost failed
      make[3]: *** [.obj/debug-shared/WebWindowAnimation.o] Error 1

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            albisser Zeno Albisser
            Reporter:
            con Eike Ziller
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes