diff --git a/main.cpp b/main.cpp index cd20432a..a2274128 100644 --- a/main.cpp +++ b/main.cpp @@ -294,13 +294,13 @@ int main(int argc, char *argv[]) QObject *qmlCamera = rootObject->findChild("qrCameraQML"); if (qmlCamera) { - qDebug() << "QrCodeScanner : object found"; + qWarning() << "QrCodeScanner : object found"; QCamera *camera_ = qvariant_cast(qmlCamera->property("mediaObject")); QObject *qmlFinder = rootObject->findChild("QrFinder"); qobject_cast(qmlFinder)->setSource(camera_); } else - qDebug() << "QrCodeScanner : something went wrong !"; + qCritical() << "QrCodeScanner : something went wrong !"; #endif QObject::connect(eventFilter, SIGNAL(sequencePressed(QVariant,QVariant)), rootObject, SLOT(sequencePressed(QVariant,QVariant)));