New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qtchooser configs #83
Conversation
A small update: added |
The approach I had in mind was that qt4-r2 and qmake-utils eclasses used the full path to the actual qmake binary in |
Will this handle the other Qt binaries? I'm no expert on this, so I assumed there could be some plain calls to other binaries without reusing the path from qmake call. |
Everything else should depend on qmake and how qtcore was built (see e.g. |
And the qt4-r2 eclass won't be of any help, would it? Anyway, how do the first two patches look then? |
Exactly, autoconf-based (or other broken) build systems don't use qt4-r2, so the export won't help, they need to be fixed regardless. |
Use direct path to Qt4 binary location, fallback to /usr/bin.
Any news on this one? I think I implemented everything you requested. |
Sorry I didn't notice you pushed new commits, I have some major issues with github notifications lately... I'll try to review and merge tomorrow at the latest. |
Hmm, I don't get notifications for your comments either. And no, we don't have a way to get that. But I don't think that having common does matter here. As your research shows, upstreams can't rely on any consistent naming and we should worry only about having a simple way of selecting the correct version via ebuilds. I also see that my interpretation of qtchooser/*.conf disagrees with Fedora. I'll look into the sources. |
Ok, I see that Fedora is wrong and the second line is supposed to be 'library path' rather than 'prefix'. So my patch is fine :). |
Ping! |
pong! sorry...real life... |
Merged with some fixups, thanks a lot! |
Based on files used by Arch. Untested on revdeps. Still needs update to Qt eclasses to set
QT_SELECT
, and maybe an eselect module to control thedefault.conf
(currently not installed).