Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.4, 6.3.1
-
None
-
Debian sid (unstable)
-
-
6156d0c27b (qt/tqtc-qtmultimedia/6.3) 5c3805dcd6 (qt/qtmultimedia/6.4.1)
Description
Simple code:
#include <QCoreApplication> #include <QMediaDevices> #include <QCameraDevice> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); qDebug() << QMediaDevices::videoInputs(); return 0; }
When run without libcamera installed on the system:
$ ./test
QList("QCameraDevice(name=Integrated Camera: Integrated C, position=, orientation=%3)" )
But when ran with libcamera installed (just the lib, not development files):
$ ./test [0:12:26.396077166] [70839] INFO Camera camera_manager.cpp:293 libcamera v0.0.0 QList()
Granted this could be a non-Qt issue, but ideally Qt should handle libcamera too, as it expands the list of usable cameras.