@Mesrine
The problem is related to Permissions.
I was thinking that the camera start() function would do that but no.
So I have reimplemented the qml type adding a function to ask for permission like:
void QRImageDecoder::requestPermision() { #if QT_CONFIG(permissions) QCameraPermission cPermission; switch (qApp->checkPermission(cPermission)) { case Qt::PermissionStatus::Undetermined: qApp->requestPermission(cPermission, this, &QRImageDecoder::requestPermision); return; case Qt::PermissionStatus::Denied: emit permissionRequested(false); return; case Qt::PermissionStatus::Granted: emit permissionRequested(true); return; } #endif }then
the qml element