summaryrefslogtreecommitdiffstats
path: root/src/libs/kdtools/kdupdaterupdatesinfodata_p.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-06-09 10:19:38 +0200
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-06-09 10:02:01 +0000
commit1bf6fd620a16e7d9e7b1eebdefa60164eef609d0 (patch)
tree47184e452aa139fa7c92bf3cd5892b5f27c64f3d /src/libs/kdtools/kdupdaterupdatesinfodata_p.h
parent6969b19237c4dc763351723794e32e9da9aee246 (diff)
Fix compilation error in tests
Commit 947e85b47c caused QDomElement to be referenced in the headers included by the testcases. Rather forward declare it to avoid having to add QT += xml to all tests. Change-Id: I85427efb5d76eea7b086382ff2dbe823faeecdad Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/kdtools/kdupdaterupdatesinfodata_p.h')
-rw-r--r--src/libs/kdtools/kdupdaterupdatesinfodata_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/kdtools/kdupdaterupdatesinfodata_p.h b/src/libs/kdtools/kdupdaterupdatesinfodata_p.h
index 786c96f1c..402c25567 100644
--- a/src/libs/kdtools/kdupdaterupdatesinfodata_p.h
+++ b/src/libs/kdtools/kdupdaterupdatesinfodata_p.h
@@ -36,9 +36,10 @@
#define KD_UPDATER_UPDATE_INFO_DATA_H
#include <QCoreApplication>
-#include <QDomElement>
#include <QSharedData>
+QT_FORWARD_DECLARE_CLASS(QDomElement)
+
namespace KDUpdater {
struct UpdateInfo;