Reason: Qt5 upstream OSS support ended on 2020-12-08. Public availability of commercial 5.15 LTS releases is delayed by 1 year since then. The final release happened on 2025-05-19, which means a) we will not get it until 2026-06-19, b) any bugs discovered since last May will not be fixed and c) no bugs since 2020-12-08 that haven't also been affecting Qt6 were fixed at all. Bug 948836
Deprecated by Andreas Sturmlechner on 2025-08-20
Install this version:
emerge -a =dev-qt/qtdeclarative-6.10.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-qt/qtdeclarative-6.10.3
Or alternatively:
emerge --autounmask-write -a =dev-qt/qtdeclarative-6.10.3
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.10.3 | 8 | ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86 |
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
QT6_HAS_STATIC_LIBS=1
# behaves very badly when qtdeclarative is not already installed, also
# other more minor issues (installs junk, sandbox/offscreen issues)
QT6_RESTRICT_TESTS=1
inherit python-any-r1 qt6-build
DESCRIPTION="Qt Declarative (Quick 2)"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
fi
IUSE="accessibility +jit +network opengl qmlls +sql +ssl svg vulkan +widgets"
RDEPEND="
~dev-qt/qtbase-${PV}:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=]
qmlls? ( ~dev-qt/qtlanguageserver-${PV}:6 )
svg? ( ~dev-qt/qtsvg-${PV}:6 )
"
DEPEND="
${RDEPEND}
vulkan? ( dev-util/vulkan-headers )
"
BDEPEND="
${PYTHON_DEPS}
~dev-qt/qtshadertools-${PV}:6
"
PATCHES=(
"${FILESDIR}"/${PN}-6.10.3-unity-build.patch
)
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package qmlls Qt6LanguageServerPrivate)
$(cmake_use_find_package sql Qt6Sql)
$(cmake_use_find_package svg Qt6Svg)
$(qt_feature jit qml_jit)
$(qt_feature network qml_network)
$(qt_feature ssl qml_ssl)
)
qt6-build_src_configure
}
src_install() {
qt6-build_src_install
if [[ ! -e ${D}${QT6_LIBDIR}/libQt6QuickControls2.so.6 ]]; then #940675
eerror "${CATEGORY}/${PF} seems to have been improperly built and"
eerror "install was aborted to protect the system. Possibly(?) due"
eerror "to a rare portage ordering bug. If using portage, try:"
eerror " emerge -1 qtshadertools:6 qtdeclarative:6"
eerror "If that did not resolve the issue, please provide build.log"
eerror "on https://bugs.gentoo.org/940675"
die "aborting due to incomplete/broken build (see above)"
fi
}
Manage flags for this package:
euse -i <flag> -p dev-qt/qtdeclarative |
euse -E <flag> -p dev-qt/qtdeclarative |
euse -D <flag> -p dev-qt/qtdeclarative
~dev-qt/qtbase-6.10.3:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=] qmlls? ( ~dev-qt/qtlanguageserver-:6 ) svg? ( ~dev-qt/qtsvg-:6 ) vulkan? ( dev-util/vulkan-headers )
~dev-qt/qtbase-6.10.3:6[accessibility=,gui,network=,opengl=,sql?,ssl?,vulkan=,widgets=] qmlls? ( ~dev-qt/qtlanguageserver-:6 ) svg? ( ~dev-qt/qtsvg-:6 )
~dev-qt/qtshadertools-6.10.3:6