Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

305.2. qrca-26.08.2

QR and barcode scanner — read codes through the camera, join Wi-Fi networks or import contacts from them, and make codes

26.08.2-1 · GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 · 1.3 SBU · 544.0 KiB, 12 files · 44_apps, 258 of 422 · ports/core/image-libs/qrca

Homepage: https://apps.kde.org/qrca/

Qrca reads QR codes and barcodes through the camera and makes QR codes from text. A scanned code is acted on by its content: a URL opens, a contact (vCard or MeCard) is imported through kcontacts, and a Wi-Fi code joins the network it names. It is a Kirigami application; the camera is read with qt6-qtmultimedia and the codes are decoded and drawn by prison.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, qt6-qtmultimedia, kirigami, ki18n, kcontacts, kcoreaddons, knotifications, prison, kconfig, kirigami-addons, kservice, kio, kcrash, kdbusaddons, networkmanager-qt.

Required by (1): kde-gear-graphics.

Sources: qrca-26.08.2.tar.xz (259.6 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install qrca'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6NetworkManagerQt=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: qrca.

Directories: /usr/share/licenses/qrca.

The scanner page imports org.kde.prison.scanner, which prison builds because it is built against Qt Multimedia. A Wi-Fi code is joined through NetworkManager over D-Bus, so it works only while NetworkManager runs and polkit lets the person add a connection.