FS#43429 - [qtchooser] need to package the shell scripts too

Attached to Project: Arch Linux
Opened by Shawn Rutledge (ecloud) - Tuesday, 13 January 2015, 09:00 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 14 January 2017, 14:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Thiago explained in an email how to use qtchooser:

http://lists.qt-project.org/pipermail/development/2012-December/008742.html

The suggested bash functions have been added to the git repository: scripts/common.sh scripts/qtchooser.bash and scripts/qtchooser.zsh. So ever since, I have had this in my .bashrc:

source ~/dev/qtchooser/scripts/qtchooser.bash

which presupposes that I have cloned the git repo in my ~/dev directory. But not everyone knows to do that.

So these scripts should be added to the package in some way.

Perhaps it would even be a good idea to add something to /etc/profile.d, so that if you have installed qtchooser, it will just work out of the box: your shell will have the "qt" function defined, so you switch Qt versions by typing "qt 540" or whatever, depending on which conf files are installed.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 14 January 2017, 14:57 GMT
Reason for closing:  None
Additional comments about closing:  qtchooser was removed from repos 2016-10-04
Comment by Shawn Rutledge (ecloud) - Tuesday, 13 January 2015, 09:06 GMT
Fortunately some conf files are already installed in /etc/xdg/qtchooser, and qtchooser can already find them. So "qt default" would be the way to get the "system" version of Qt 5.

Loading...