Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522382 - [qt overlay] dev-qt/qtwidgets:5 should depend on dev-qt/qtgui[xcb?]
Summary: [qt overlay] dev-qt/qtwidgets:5 should depend on dev-qt/qtgui[xcb?]
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
Keywords: PATCH
Depends on:
Blocks: qt5-porting
  Show dependency tree
Reported: 2014-09-08 14:43 UTC by Timo Rothenpieler
Modified: 2014-09-08 23:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

patch against qtwidgets-5.3.1-r2.ebuild (widgets.patch,799 bytes, patch)
2014-09-08 14:43 UTC, Timo Rothenpieler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Rothenpieler 2014-09-08 14:43:46 UTC
Created attachment 384392 [details, diff]
patch against qtwidgets-5.3.1-r2.ebuild

Without xcb enabled at configure time, it does not compile in any support for leagcy x11 tray icons.
As a result, Qt5 does not report tray icon support on KDE4 or other x11 tray icon based systems.

Attached is a patch which makes it work again by adding the same useflag and configure options qtgui:5 uses.
Comment 1 Jouni Kosonen 2014-09-08 16:50:14 UTC
I can confirm that the patch is enough to get at least 
net-misc/owncloud-client-1.6.3[qt5 -qt4] started under 
kde-4 with a working tray icon and without the message 
"System tray not available
ownCloud requires on a working system tray. If you are running xfce, please follow these instructions. Otherwise, please install a system tray application such as trayer and try again."
Comment 2 Davide Pesavento gentoo-dev 2014-09-08 21:00:40 UTC
Why [xcb=] and not [xcb?] ?
Comment 3 Timo Rothenpieler 2014-09-08 21:19:20 UTC
I didn't look at the configure system in depth, and keeping those settings the same accross both seemed the safer approach to me.
Comment 4 Davide Pesavento gentoo-dev 2014-09-08 23:19:35 UTC
[xcb?] seems sufficient to me.
Comment 5 Davide Pesavento gentoo-dev 2014-09-08 23:27:39 UTC
Fixed in git. Thanks for reporting and for the patch.