Re: Qt 5 Fedora 21 packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Oct 2014 16:27:57 +0200, Kevin Kofler wrote:

> > It looks like one could simply prepend
> > 
> >   /usr/lib64/qt5/bin
> > 
> > to $PATH to make available the executables, which are renamed to avoid
> > conflicts with other Qt versions.
> 
> There you have your "wrapper script":
> export PATH="%{_qt5_bindir}:$PATH"

As pointed out, I would have preferred a brief %description or README.Fedora
as a quickstart rather than examining package contents and trying to figure
out whether something is is the right way to do it and not only a work-around.
It could also have been that setting environment variables would be _the_
way to point Qt detection configure scripts at the right places.

Obviously, adjusting $PATH is what I've done as a work-around, albeit not using
the RPM macro, because I only looked in /etc/rpm because I always forget about
the new directory.

It could have been more convenient to use the rpms. That's all!
 
> IMHO, it doesn't make sense to install a one-line script, one that would 
> also have to be sourced rather than run normally.

I mentioned a "helper script" based on the assumption that there might
be more environment variables that need adjustment. ;-)
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux