aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-03-20 19:36:07 +0100
committerStephen Kelly <steveire@gmail.com>2016-03-20 19:36:07 +0100
commit09008700af42967f6ad10c9b3ef565cc2f727874 (patch)
tree77ddd19b171d3949dc53198cf5cc81ae8e6b9b0f /modules
parenta2e9d3f39f5220ca6c9b90da0dd4255916fb031c (diff)
downloadextra-cmake-modules-09008700af42967f6ad10c9b3ef565cc2f727874.tar.gz
extra-cmake-modules-09008700af42967f6ad10c9b3ef565cc2f727874.tar.bz2
Revert "ECMQtDeclareLoggingCategory: Include <QDebug> with the generated file"
This reverts commit 1d4bc35cf9383177459544d6fcd9de35edf3e77d. QLoggingCategory has always included QDebug, so this has always been superfluous.
Diffstat (limited to 'modules')
-rw-r--r--modules/ECMQtDeclareLoggingCategory.cmake3
-rw-r--r--modules/ECMQtDeclareLoggingCategory.h.in1
2 files changed, 0 insertions, 4 deletions
diff --git a/modules/ECMQtDeclareLoggingCategory.cmake b/modules/ECMQtDeclareLoggingCategory.cmake
index 3f7bb79a..b7f1ad39 100644
--- a/modules/ECMQtDeclareLoggingCategory.cmake
+++ b/modules/ECMQtDeclareLoggingCategory.cmake
@@ -30,9 +30,6 @@
#
# ``<identifier>`` may include namespaces (eg: ``foo::bar::IDENT``).
#
-# Starting with Frameworks 5.18, the generated header also includes the <QDebug>
-# header, so you don't have to put extra #include <QDebug> anymore in your code.
-#
# Since 5.14.0.
#=============================================================================
diff --git a/modules/ECMQtDeclareLoggingCategory.h.in b/modules/ECMQtDeclareLoggingCategory.h.in
index b59bc7aa..fedecd2f 100644
--- a/modules/ECMQtDeclareLoggingCategory.h.in
+++ b/modules/ECMQtDeclareLoggingCategory.h.in
@@ -4,7 +4,6 @@
#define @GUARD_NAME@
#include <QLoggingCategory>
-#include <QDebug>
@OPEN_NAMESPACES@
Q_DECLARE_LOGGING_CATEGORY(@IDENTIFIER@)
@CLOSE_NAMESPACES@