commit:     c0db3d2014ed39035a0b840a7264d13f044acd31
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 14:55:10 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 29 20:41:37 2021 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=c0db3d20

general-concepts/dependencies: slightly modernise Qt example

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 general-concepts/dependencies/text.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/general-concepts/dependencies/text.xml 
b/general-concepts/dependencies/text.xml
index 1b8f425..eac1967 100644
--- a/general-concepts/dependencies/text.xml
+++ b/general-concepts/dependencies/text.xml
@@ -347,7 +347,7 @@ the package name, where 'SLOT' is the <c>SLOT</c> of the 
package wanted:
 </p>
 
 <codesample lang="ebuild">
-DEPEND="qt3? ( x11-libs/qt:3 )
+DEPEND="qt5? ( dev-qt/qtcore:5 )
        gtk? ( x11-libs/gtk+:2 )
 </codesample>
 
@@ -356,7 +356,7 @@ To depend on a specific version or version-range within a 
SLOT we use:
 </p>
 
 <codesample lang="ebuild">
-DEPEND="qt3? ( ~x11-libs/qt-3.3.8:3 )
+DEPEND="qt5? ( ~dev-qt/qtcore-5.15.2:5 )
        gtk? ( &gt;=x11-libs/gtk+-2.24.9:2 )
 </codesample>
 </body>

Reply via email to