Blame SOURCES/0009-Doc-mention-that-INCLUDEPATH-must-be-set-in-some-cas.patch

383017
From 4d6078e4b556e83f55ffed55f14203c3ed880c62 Mon Sep 17 00:00:00 2001
383017
From: Mitch Curtis <mitch.curtis@qt.io>
383017
Date: Thu, 19 Nov 2020 16:39:23 +0100
383017
Subject: [PATCH 09/28] Doc: mention that INCLUDEPATH must be set in some cases
383017
383017
Otherwise the generated type registrations .cpp file will not be able
383017
to include the sources.
383017
383017
Change-Id: I7821c7674b4341546da2fc49e584bf10cc60b46f
383017
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
383017
(cherry picked from commit 06c31f386f8664343debd219a522a8897df0f3ec)
383017
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
383017
---
383017
 src/qml/doc/src/cppintegration/definetypes.qdoc | 8 ++++++++
383017
 1 file changed, 8 insertions(+)
383017
383017
diff --git a/src/qml/doc/src/cppintegration/definetypes.qdoc b/src/qml/doc/src/cppintegration/definetypes.qdoc
383017
index cbbbd9ba58..ece2fd5fd7 100644
383017
--- a/src/qml/doc/src/cppintegration/definetypes.qdoc
383017
+++ b/src/qml/doc/src/cppintegration/definetypes.qdoc
383017
@@ -117,6 +117,14 @@ QML_IMPORT_NAME = com.mycompany.messaging
383017
 QML_IMPORT_MAJOR_VERSION = 1
383017
 \endcode
383017
 
383017
+If the header the class is declared in is not accessible from your project's
383017
+include path, you may have to amend the include path so that the generated
383017
+registration code can be compiled:
383017
+
383017
+\code
383017
+INCLUDEPATH += com/mycompany/messaging
383017
+\endcode
383017
+
383017
 The type can be used in an \l{qtqml-syntax-basics.html#object-declarations}
383017
 {object declaration} from QML, and its properties can be read and written to,
383017
 as per the example below:
383017
-- 
383017
2.31.1
383017