diff --git a/testing/kitemviews/APKBUILD b/testing/kitemviews/APKBUILD
index f984f7830ef66445b26a5b332875ae815d668a01..796bede545c8aa3762cdb4d459ee7106f2a2fe9c 100644
--- a/testing/kitemviews/APKBUILD
+++ b/testing/kitemviews/APKBUILD
@@ -9,9 +9,9 @@ url="https://community.kde.org/Frameworks"
 license="GPL-2.0-only AND LGPL-2.1-only"
 depends_dev="qt5-qtbase-dev"
 makedepends="extra-cmake-modules qt5-qttools-dev doxygen"
+checkdepends="xvfb-run"
 source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-options="!check" # Fails due to requiring running X11
 
 build() {
 	cmake \
@@ -23,7 +23,7 @@ build() {
 }
 
 check() {
-	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
 }
 
 package() {