summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3dextras/qt3dquickwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/quick3dextras/qt3dquickwindow.cpp')
-rw-r--r--src/quick3d/quick3dextras/qt3dquickwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/quick3d/quick3dextras/qt3dquickwindow.cpp b/src/quick3d/quick3dextras/qt3dquickwindow.cpp
index 46f96bfa9..7fecf0d46 100644
--- a/src/quick3d/quick3dextras/qt3dquickwindow.cpp
+++ b/src/quick3d/quick3dextras/qt3dquickwindow.cpp
@@ -49,6 +49,7 @@
****************************************************************************/
#include <Qt3DQuickExtras/qt3dquickwindow.h>
+#include <Qt3DQuickExtras/private/qt3dquickwindowlogging_p.h>
#include <Qt3DQuick/QQmlAspectEngine>
#include <Qt3DRender/qcamera.h>
#include <Qt3DRender/qrenderaspect.h>
@@ -211,7 +212,7 @@ void Qt3DQuickWindow::onSceneCreated(QObject *rootObject)
QList<Qt3DRender::QCamera *> cameras
= rootObject->findChildren<Qt3DRender::QCamera *>();
if (cameras.isEmpty()) {
- qWarning() << "No camera found";
+ qCDebug(QuickWindow) << "No camera found";
} else {
m_camera = cameras.first();
setCameraAspectModeHelper();
@@ -223,7 +224,7 @@ void Qt3DQuickWindow::onSceneCreated(QObject *rootObject)
if (inputSettings) {
inputSettings->setEventSource(this);
} else {
- qWarning() << "No Input Settings found, keyboard and mouse events won't be handled";
+ qCDebug(QuickWindow) << "No Input Settings found, keyboard and mouse events won't be handled";
}
}