summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-04-06 03:01:24 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-04-06 03:01:25 +0200
commit8d2c11ac2352556167dc4a86172cd9bc3a979ed8 (patch)
tree4173d1dd3f20739eda713d5719bb71d4db4ae9e5
parentfdac568771dd146dac26cea47c83c8e2b9a1a240 (diff)
parent2379c9b93792feb97d6cb871082aed0f7cbcbad8 (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta3v5.13.0-beta2
-rw-r--r--src/script/doc/src/includes/deprecation.qdocinc3
-rw-r--r--src/script/doc/src/qtscript-index.qdoc2
-rw-r--r--src/script/doc/src/qtscript-module.qdoc5
3 files changed, 6 insertions, 4 deletions
diff --git a/src/script/doc/src/includes/deprecation.qdocinc b/src/script/doc/src/includes/deprecation.qdocinc
new file mode 100644
index 0000000..3fb2233
--- /dev/null
+++ b/src/script/doc/src/includes/deprecation.qdocinc
@@ -0,0 +1,3 @@
+\warning This module is not actively developed. It is provided for backwards
+compatibility with Qt 4 only. For new code, use \l QJSEngine and related
+classes in the Qt QML module instead.
diff --git a/src/script/doc/src/qtscript-index.qdoc b/src/script/doc/src/qtscript-index.qdoc
index 6cf347f..a489d1c 100644
--- a/src/script/doc/src/qtscript-index.qdoc
+++ b/src/script/doc/src/qtscript-index.qdoc
@@ -33,6 +33,8 @@
The following guides and references cover aspects of programming with
ECMAScript and Qt.
+ \include deprecation.qdocinc
+
\tableofcontents
\section1 Licenses and Attributions
diff --git a/src/script/doc/src/qtscript-module.qdoc b/src/script/doc/src/qtscript-module.qdoc
index 8e47042..edfbf17 100644
--- a/src/script/doc/src/qtscript-module.qdoc
+++ b/src/script/doc/src/qtscript-module.qdoc
@@ -38,10 +38,7 @@
Qt Script Tools module provides additional Qt Script-related
components that application developers may find useful.
- This module is mainly provided for backwards compatibility reasons
- with Qt 4.x and not being actively developed any further. For new
- code please consider using the QJSEngine, etc. classes in the
- Qt Qml module instead.
+ \include deprecation.qdocinc
To include the definitions of the module's classes, use the
following directive: