summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpcollectionhandler_p.h
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2020-06-03 14:12:26 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2020-06-04 10:31:57 +0300
commit30240c68c2c133c464460534081b865344a692ad (patch)
tree0b5818b48212c2277152dfa3e96a041ab9efe266 /src/assistant/help/qhelpcollectionhandler_p.h
parent096dfcf4f0d153546ca2bad4191b471c97731970 (diff)
Fix build with latest moc
Moc now needs the types to be fully declared and not just forward declared. | src/assistant/help/Help_autogen/EWIEGA46WW/moc_qhelpindexwidget.cpp:299:1: required from here | /usr/include/c++/9/type_traits:672:12: error: invalid use of incomplete type ‘struct QHelpLink’ | 672 | struct is_trivial Change-Id: I8282132239da61d49512e1f9f2c5cc2c4a86e3e3 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/assistant/help/qhelpcollectionhandler_p.h')
-rw-r--r--src/assistant/help/qhelpcollectionhandler_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assistant/help/qhelpcollectionhandler_p.h b/src/assistant/help/qhelpcollectionhandler_p.h
index 83178f388..b83b8ba26 100644
--- a/src/assistant/help/qhelpcollectionhandler_p.h
+++ b/src/assistant/help/qhelpcollectionhandler_p.h
@@ -60,12 +60,12 @@
#include <QtSql/QSqlQuery>
#include "qhelpdbreader_p.h"
+#include "qhelplink.h"
QT_BEGIN_NAMESPACE
class QVersionNumber;
class QHelpFilterData;
-struct QHelpLink;
class QHelpCollectionHandler : public QObject
{