Skip to content
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

ros-kinetic/qt_gui_cpp does not emerge cause of QT_INSTALL_LIBS not defined #916

Open
awesomebytes opened this issue Dec 6, 2019 · 0 comments

Comments

@awesomebytes
Copy link
Collaborator

awesomebytes commented Dec 6, 2019

This may also happen to further packages that depend on qtcore. Like ros-kinetic/rviz.

The main thing is that dev-qt/qtcore on (at least) version 5.12 and 5.13 fail to substitute an environment variable in the file: $EPREFIX/usr/lib/libQt5Gui.prl (the variable is $$[QT_INSTALL_LIBS]).

The workaround is to substitute it with the actual path yourself after emerging dev-qt/qtcore.

I did this with:

qt_install_libs_path=`qmake -query QT_INSTALL_LIBS`; sed -i 's@$$\[QT_INSTALL_LIBS\]@'$qt_install_libs_path'@' $EPREFIX/usr/lib/libQt5Gui.prl

Kinda ugly workaround... I know. Reported in Gentoo bugtracker here: https://bugs.gentoo.org/702142

P.S.: Found the workaround from here: http://python.6.x6.nabble.com/Incorrect-Makefile-using-prl-files-from-Qt-5-12-4-td5255962.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant