[Webkit-unassigned] [Bug 37442] [PATCH] [Qt] Fix compilation with system tray disabled.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 20 09:49:53 PDT 2010


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





--- Comment #11 from Laszlo Gombos <laszlo.1.gombos at nokia.com>  2010-04-20 09:49:53 PST ---
(In reply to comment #10)
> (In reply to comment #8)
> > (From update of attachment 53160 [details] [details])
> > I agree with Simon's proposal, I'd like to give an r- this time. I similar
> > mechanism exists to disable certain WebKit features if sqlite is not available.
> > 
> > Would the following work ..
> > 
> > contains(DEFINES, QT_NO_SYSTEMTRAYICON):DEFINES += ENABLE_NOTIFICATIONS=0
> 
> I don't think the pri file is able to detect if QT_NO_SYSTEMTRAYICON is
> defined.

Chang, you're right that unless QT_NO_SYSTEMTRAYICON is explicitly listed in
the DEFINES qmake will not pick it up as it is only defined in a Qt header.

A compromise would be not to disable the ENABLE_NOTIFICATIONS feature but only
guard the SysTray dependent code with SYSTEMTRAYICON. I think in the future we
should allow QtWebKit clients to render the notification themselves.

-- 
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