Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529138 - dev-qt/qtgui should RDEPEND on x11-misc/xdg-utils
Summary: dev-qt/qtgui should RDEPEND on x11-misc/xdg-utils
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 12:06 UTC by Arnaud Vallette d'Osia
Modified: 2017-01-18 08:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Vallette d'Osia 2014-11-13 12:06:19 UTC
Qt apps will not open links if xdg-utils is not emerged.
Not pretty sure though qt-gui is where the dependency shall be added ?



Reproducible: Always

Steps to Reproduce:
1. setup a system that do not depend on xdg-utils
2. install Qt4 apps (qupzilla/qupzilla/qpdfview)
3. click a link in one of those apps
Actual Results:  
it does not launch any associated app. For xdg-open is not installed
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2014-11-13 19:33:31 UTC
The implementation of QDesktopServices for X11 platforms tries to invoke several programs to open links, one of which is xdg-open, but many others are supported (gnome-open on gnome, kfmclient on kde, ... even firefox). However only few qt applications actually need this functionality, so I'm not sure if it's a good idea to add this dependency to qtgui.
Comment 2 Arnaud Vallette d'Osia 2014-11-13 20:25:20 UTC
Thanks Davide for your answer,
well maybe shall emerge just end with a note mentionning 
"if links do not open, you might need to install one of the following :
xdg-utils, firefox (put here the list...)"

In fact, I feel the qtconfig tool badly needs an option to set the browser (or action to perform when links get clicked)
Is there such an option hidden somewhere ? (I am not that familiar with Qt)

In my case, I had to make a xdg-open symlink to my installed exo-open.
Comment 3 Arnaud Vallette d'Osia 2014-11-14 08:13:19 UTC
For the record, there is a discussion ongoing in the forums :
http://forums.gentoo.org/viewtopic-p-7650574.html