Re: Qt 5 Fedora 21 packages

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

 



Michael Schwendt wrote:
> Some confusion here trying to use Fedora's Qt 5 packages, and it seems
> they cannot be use quickly.

Depends on the build system you (or the upstream project you're packaging) 
use:
* CMake: just works
* qmake: call qmake-qt5 and it'll find all the rest just fine
* qbs: hopefully just works too, but not tested by me yet
* anything else: see below

> I couldn't find a helper script to make them available in path again.
[snip]
> 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"

IMHO, it doesn't make sense to install a one-line script, one that would 
also have to be sourced rather than run normally.


In addition, as Rex Dieter said, the upstream project's build setup should 
be fixed to look for the binaries with -qt5 suffixes in the long run.

        Kevin Kofler

-- 
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