- 
    
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)
 
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.
| For Gerrit Dashboard: QTBUG-104226 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 437924,4 | Don't use device.path gst property for device ID, instead generate it | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 | 
| 439194,3 | Don't use device.path gst property for device ID, instead generate it | 6.4 | qt/qtmultimedia | Status: MERGED | +2 | 0 | 
| 439195,3 | Don't use device.path gst property for device ID, instead generate it | 6.3 | qt/qtmultimedia | Status: MERGED | +2 | 0 | 
| 439223,3 | Don't use device.path gst property for device ID, instead generate it | tqtc/lts-6.2 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |