Install this version:
emerge -a =x11-themes/qt6gtk2-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-themes/qt6gtk2-9999
Or alternatively:
emerge --autounmask-write -a =x11-themes/qt6gtk2-9999
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="GTK+2.0 integration plugins for Qt6"
HOMEPAGE="https://www.opencode.net/trialuser/qt6gtk2"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://www.opencode.net/trialuser/qt6gtk2.git/"
else
SRC_URI="https://www.opencode.net/trialuser/qt6gtk2/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="amd64 x86"
RESTRICT="mirror"
fi
LICENSE="GPL-2"
SLOT="0"
DEPEND="
dev-qt/qtbase:6=
x11-libs/gtk+:2
x11-libs/libX11
"
src_configure() {
mkdir -p "${S}/build" || die
"${EPREFIX}/usr/$(get_libdir)/qt6/bin/qmake" || die "Qt6 qmake failed!"
default
}
src_install() {
emake INSTALL_ROOT="${ED}" install
}
dev-qt/qtbase:6= x11-libs/gtk+:2 x11-libs/libX11