Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 522382

Summary: [qt overlay] dev-qt/qtwidgets:5 should depend on dev-qt/qtgui[xcb?]
Product: Gentoo Linux Reporter: Timo Rothenpieler <timo>
Component: [OLD] LibraryAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: jouni.kosonen
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 454132    
Attachments: patch against qtwidgets-5.3.1-r2.ebuild

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.