Bug 511655

Summary: "Camera is not supported on the platform"
Product: [Applications] Qrca Reporter: matt
Component: generalAssignee: Jonah Brüchert <jbb>
Status: REPORTED ---    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description matt 2025-11-05 01:37:21 UTC
SUMMARY
Qrca window just says "Camera is not supported on the platform"

STEPS TO REPRODUCE
1. Start program, either from a terminal or application launcher
2. 
3. 

OBSERVED RESULT
Qrca window just says "Camera is not supported on the platform"

When starting from a terminal, below is the output:

---

$ qrca 
qt.qml.typeregistration: Invalid QML element name "QrCodeContent"; value type names should begin with a lowercase letter
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.2 GPL version 2 or later
Failed to initialize QCamera "Not available"
qrc:/qt/qml/org/kde/qrca/QrCodeScannerPage.qml:96:5: QML OverlaySheet: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
qrc:/qt/qml/org/kde/qrca/QrCodeScannerPage.qml:288:5: QML OverlaySheet: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5

---

EXPECTED RESULT
Camera activation

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.18
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.3
Kernel Version: 6.12.47-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 480 Graphics


ADDITIONAL INFORMATION
The camera is connected and works fine in Kamoso, so the hardware and driver is available for the system.
Comment 1 Jonah Brüchert 2025-11-16 00:11:42 UTC
Hi, can you reproduce this on the Flatpak release from Flathub?
Comment 2 matt 2025-11-16 04:35:36 UTC
(In reply to Jonah Brüchert from comment #1)
> Hi, can you reproduce this on the Flatpak release from Flathub?

I cannot.  The flatpak version 25.08.3 properly accesses the camera
Comment 3 Jonah Brüchert 2025-11-16 12:04:27 UTC
Thanks for testing, please report this to your distto in this case.