aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-01-04 10:30:52 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-01-04 13:08:05 +0100
commit5d85844f7bb7a5dbf50afd5355e508b4db3e18cd (patch)
tree59ec67cdaffb8e7883fa445c563bb8173a90ecb7
parent44f74f56e693a51b34076bf5e5950d4e05ed8ebc (diff)
definetypes.qdoc: Add note about include path prefixes
We do not allow for prefixes when using declarative QML registration. Task-number: QTBUG-87221 Change-Id: Ie1ce604390d49601a48217c71ba161f1b5f5e6e0 Reviewed-by: Erik Schilling <ablu.erikschilling@gmail.com> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/qml/doc/src/cppintegration/definetypes.qdoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/doc/src/cppintegration/definetypes.qdoc b/src/qml/doc/src/cppintegration/definetypes.qdoc
index 1d52f18981..d5762f7d26 100644
--- a/src/qml/doc/src/cppintegration/definetypes.qdoc
+++ b/src/qml/doc/src/cppintegration/definetypes.qdoc
@@ -46,6 +46,7 @@ features such as \e{attached properties} and \e{default properties} in C++.
(Note that a number of the important concepts covered in this document are
demonstrated in the \l{Writing QML Extensions with C++} tutorial.)
+\b{NOTE:} All headers that declare QML types need to be accessible without any prefix from the project's include path.
\section1 Registering C++ Types with the QML Type System