Qt build system defines BUILDING_QT__ inconsistently. WebKit.pri sets it to 1, while WebKit2.pro only defines it without a value even though WebKit2.pro includes WebKit.pri. Some other "pro's" don't define it at all and they rely on WebKit.pri.
Created attachment 77015 [details] proposed patch
Comment on attachment 77015 [details] proposed patch LGTM
Comment on attachment 77015 [details] proposed patch Clearing flags on attachment: 77015 Committed r74407: <http://trac.webkit.org/changeset/74407>
All reviewed patches have been landed. Closing bug.