Take the 2-minute tour ×

I already do following things:

# layman -a qt
# cat /etc/portage/package.accept_keywords
=x11-libs/qt-core-5.9999 **
=x11-libs/qt-network-5.9999 **
=x11-libs/qt-dbus-5.9999 **
=x11-libs/qt-declarative-5.9999 **
=x11-libs/qt-demo-5.9999 **
=x11-libs/qt-gui-5.9999 **
=x11-libs/qt-multimedia-5.9999 **
=x11-libs/qt-opengl-5.9999 **
=x11-libs/qt-phonon-5.9999 **
=x11-libs/qt-qt3support-5.9999 **
=x11-libs/qt-script-5.9999 **
=x11-libs/qt-sql-5.9999 **
=x11-libs/qt-svg-5.9999 **
=x11-libs/qt-test-5.9999 **
=x11-libs/qt-webkit-5.9999 **
=x11-libs/qt-xmlpatterns-5.9999 **
=x11-libs/qt-widgets-5.9999 **
=x11-libs/qt-jsbackend-5.9999 **
=x11-libs/qt-xml-5.9999 **

And what next?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

As with any other package, you need to "emerge" the ones you want.

This seems rather easy to me, so maybe you're not quite asking what you actually mean?

share|improve this answer
What package I need to emerge? There is no qt-meta for 5.9999 version. Emerge Qt module by module is an ugly way I think. –  proofit404 Nov 19 '12 at 6:33
You emerge the modules you want. That's how it works. –  Nikos C. Nov 19 '12 at 6:38
Thanks, I understand now. –  proofit404 Nov 19 '12 at 6:53
@NikosC. You know, Qt5 is not in portage yet, don't you? –  vertoe Jun 2 '13 at 17:55
@donschoe In the question it is mentioned that he did layman -a qt, so he has the qt overlay active, which does provide the Qt5 ebuilds. –  Nikos C. Jun 2 '13 at 21:35
add comment

Qt5 will not be in standard portage tree unless this meta-issue #454132 is solved. This is because the changes between Qt4 and Qt5 are huge and would break a lot of dependencies.

Until Qt5 enters the portage tree you will have to download it from qt-project.org and compile it on your own as explained in the official documentation:

Extract the archive:

gunzip qt-everywhere-opensource-src-5.0.2.tar.gz        # uncompress the archive
tar xvf qt-everywhere-opensource-src-5.0.2.tar          # unpack it

Configure the libraries:

cd qt-everywhere-opensource-src-5.0.2

Build the libraries:

make install

Add Qt5 to your environment:


That's it.

share|improve this answer
This is incorrect now, and was incorrect when you posted it. The qt overlay has had packages for Qt 5 prior to April. The package manager should always be preferred over manual installation when possible. –  Gordon Aug 12 '13 at 23:14
add comment

Your Answer


