[Webkit-unassigned] [Bug 39357] [QT] QT_BEARER flag is not enabled on S60 properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 10 03:46:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39357





--- Comment #22 from Simon Hausmann <hausmann at webkit.org>  2010-06-10 03:46:13 PST ---
(In reply to comment #19)
> This created a warning when QtMobility is not available. Following change would fix it:
> 
> Index: WebCore/WebCore.pri
> ===================================================================
> --- WebCore/WebCore.pri (revision 60842)
> +++ WebCore/WebCore.pri (working copy)
> @@ -115,7 +115,7 @@
>       !lessThan(QT_MINOR_VERSION, 7) {
>          DEFINES += ENABLE_QT_BEARER=1
>       } else {
> -        load(mobilityconfig)
> +        exists($$[QMAKE_MKSPECS]/features/mobility.prf): load(mobilityconfig)
>          contains(MOBILITY_CONFIG, bearer) {
>              DEFINES += ENABLE_QT_BEARER=1
>          }

A better fix is to replace

load(mobilityconfig)

with

load(mobilityconfig,true)

where the second argument (true) means: ignore errors when loading

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list