diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-03-31 11:43:51 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-03-31 13:23:27 +0000 |
commit | acde192b771f1baa2f01cac30c18ac9ce7054b28 (patch) | |
tree | 6e22f03baad72a204bae9ffb787c9215c928a62d /src/core/aspects/qaspectengine.cpp | |
parent | c70a1d339e17c7fa12ee88d40b1455f07b254405 (diff) |
Don't explicitly disable the Qt3D category logging
Category logging is off by default, so explicitly turning it off will
just make it harder to turn it on in the application.
qt.*.debug has special behavior in the sense that defaults to off. Other
categories, like Qt3D.*.debug default to true. Therefore the only correct
way in Qt 3D is to always specify warning-and-up as the default enabled
severity.
Change-Id: I91daf48e049b7a9fcfac9720982138b178ee4804
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/core/aspects/qaspectengine.cpp')
-rw-r--r-- | src/core/aspects/qaspectengine.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/aspects/qaspectengine.cpp b/src/core/aspects/qaspectengine.cpp index c1ec1b4ac..91961984f 100644 --- a/src/core/aspects/qaspectengine.cpp +++ b/src/core/aspects/qaspectengine.cpp @@ -177,10 +177,6 @@ void QAspectEnginePrivate::generateCreationChanges(QNode *root) QAspectEngine::QAspectEngine(QObject *parent) : QObject(*new QAspectEnginePrivate, parent) { - // Don't show any debug output from Qt3D. If you need to enable additional logging - // for debugging use a rules file as explained in the QLoggingCategory documentation. - QLoggingCategory::setFilterRules(QString::fromUtf8("Qt3D.*.debug=false\n")); - qCDebug(Aspects) << Q_FUNC_INFO; Q_D(QAspectEngine); d->m_scene = new QScene(this); |