diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index 7c81597446f468ab6b93709410371299fcea1b58..60970b363d569c11b0177b9912aef93991e528c9 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,15 @@ +2010-06-04 Simon Hausmann + + Reviewed by Tor Arne Vestbø. + + [Qt] Compilation fails when compiling against Qt 4.7 and Qt Mobility is installed + https://bugs.webkit.org/show_bug.cgi?id=40116 + + CONFIG += mobility has the side-effect of pulling in mobility includes, which conflict + with Qt 4.7's bearer managenent includes and break the build. + + * WebCore.pro: + 2010-06-04 Vangelis Kokkevis Reviewed by Dimitri Glazkov. diff --git a/WebCore/WebCore.pro b/WebCore/WebCore.pro index 22cfa3ac55d34fad9a41be205ed800a7cbae55dc..c6f79c37c1e02fd1af702d1d52ef2ff49849b753 100644 --- a/WebCore/WebCore.pro +++ b/WebCore/WebCore.pro @@ -2621,8 +2621,12 @@ contains(DEFINES, ENABLE_QT_BEARER=1) { SOURCES += \ platform/network/qt/NetworkStateNotifierQt.cpp - CONFIG += mobility - MOBILITY += bearer + # Bearer management is part of Qt 4.7, so don't accidentially + # pull in Qt Mobility when building against >= 4.7 + !greaterThan(QT_MINOR_VERSION, 6) { + CONFIG += mobility + MOBILITY += bearer + } } contains(DEFINES, ENABLE_SVG=1) {