Changeset 60677 in webkit


Ignore:
Timestamp:
Jun 4, 2010 6:26:15 AM (14 years ago)
Author:
Simon Hausmann
Message:

[Qt] Compilation fails when compiling against Qt 4.7 and Qt Mobility is installed
https://bugs.webkit.org/show_bug.cgi?id=40116

Reviewed by Tor Arne Vestbø.

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:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r60676 r60677  
     12010-06-04  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Reviewed by Tor Arne Vestbø.
     4
     5        [Qt] Compilation fails when compiling against Qt 4.7 and Qt Mobility is installed
     6        https://bugs.webkit.org/show_bug.cgi?id=40116
     7
     8        CONFIG += mobility has the side-effect of pulling in mobility includes, which conflict
     9        with Qt 4.7's bearer managenent includes and break the build.
     10
     11        * WebCore.pro:
     12
    1132010-06-04  Vangelis Kokkevis  <vangelis@chromium.org>
    214
  • trunk/WebCore/WebCore.pro

    r60624 r60677  
    26222622        platform/network/qt/NetworkStateNotifierQt.cpp
    26232623
    2624     CONFIG += mobility
    2625     MOBILITY += bearer
     2624    # Bearer management is part of Qt 4.7, so don't accidentially
     2625    # pull in Qt Mobility when building against >= 4.7
     2626    !greaterThan(QT_MINOR_VERSION, 6) {
     2627        CONFIG += mobility
     2628        MOBILITY += bearer
     2629    }
    26262630}
    26272631
Note: See TracChangeset for help on using the changeset viewer.