summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusxmlparser_p.h
diff options
context:
space:
mode:
authorAndreas Wilhelm <aw@emlix.com>2016-07-15 16:24:10 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-09-27 15:48:45 +0000
commitcd78457c6d33bdd7c01fbcd78e50bc99e9c9acce (patch)
tree4571554b4a9401bea51cf42f0a1a55451bdb1970 /src/dbus/qdbusxmlparser_p.h
parentbdb81d0bd13eb39e1b31b19e5c25112a532b2ffb (diff)
qdbusxmlparser: Enabled error output
Implements behavior for the --verbose switch already specified but never implemented. Without this switch you would have to rebuild qdbusxml2cpp to see error output. Using -V will now produce error output such as: dbus.parser: unknown token "" "Characters" dbus.parser: Invalid D-BUS interface name 'com.qt-project.dbus' found while parsing introspection dbus.parser: unknown token "" "Characters" dbus.parser: skipping unknown element "method" dbus.parser: xml error "Opening and ending tag mismatch." doc "..." Task-number: QTBUG-34126 Change-Id: Ie5b7ec78007ddc305b1e7ddbffb1436920721c9c Reviewed-by: Rolf Eike Beer <eb@emlix.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusxmlparser_p.h')
-rw-r--r--src/dbus/qdbusxmlparser_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/qdbusxmlparser_p.h b/src/dbus/qdbusxmlparser_p.h
index 7db2d12df4..d089bae163 100644
--- a/src/dbus/qdbusxmlparser_p.h
+++ b/src/dbus/qdbusxmlparser_p.h
@@ -52,6 +52,7 @@
//
#include <QtDBus/private/qtdbusglobal_p.h>
+#include <QtCore/qloggingcategory.h>
#include <QtCore/qmap.h>
#include "qdbusintrospection_p.h"
@@ -59,6 +60,8 @@
QT_BEGIN_NAMESPACE
+Q_DECLARE_LOGGING_CATEGORY(dbusParser)
+
/*!
\internal
*/