From 5d85844f7bb7a5dbf50afd5355e508b4db3e18cd Mon Sep 17 00:00:00 2001 From: Maximilian Goldstein Date: Mon, 4 Jan 2021 10:30:52 +0100 Subject: 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 Reviewed-by: Ulf Hermann --- src/qml/doc/src/cppintegration/definetypes.qdoc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/doc') 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 -- cgit v1.2.3