Bug 116522 - [Qt][MAC] r150277 broke Qt Mountain Lion Release build
Summary: [Qt][MAC] r150277 broke Qt Mountain Lion Release build
Status: RESOLVED DUPLICATE of bug 116467
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks: 116335
  Show dependency treegraph
 
Reported: 2013-05-21 01:03 PDT by Zoltan Arvai
Modified: 2013-05-21 01:04 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Arvai 2013-05-21 01:03:29 PDT
Build fails after new header added:

#if defined(__APPLE__) 
#include <WebKit2/WKBaseMac.h> 
#endif 

In file included from /Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Shared/API/c/WKGeometry.cpp:27:
In file included from /Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Shared/API/c/WKGeometry.h:29:
In file included from ../include/WebKit2/WKBase.h:1:
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Shared/API/c/WKBase.h:45:10: fatal error: 'WebKit2/WKBaseMac.h' file not found
#include <WebKit2/WKBaseMac.h>

Probably, this "defined(__APPLE__)" should be different.
Which guard would be better? "PLATFORM(MAC)" or "defined(__APPLE__) && !PLATFORM(QT)"
Comment 1 Michael Brüning 2013-05-21 01:04:40 PDT

*** This bug has been marked as a duplicate of bug 116467 ***