From adaefd7cb8ed0849cd0a36a95912e37b3b14d35a Mon Sep 17 00:00:00 2001
From: Mitch Curtis <mitch.curtis@qt.io>
Date: Wed, 27 Mar 2019 10:34:13 +0100
Subject: [PATCH] Document that Qt Script is deprecated

Change-Id: I0646c50ea17a71ae49b630ad1cb3ddb1c12d098d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
---
 doc/src/scripting.qdoc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/src/scripting.qdoc b/doc/src/scripting.qdoc
index 309a4b27..f15a28eb 100644
--- a/doc/src/scripting.qdoc
+++ b/doc/src/scripting.qdoc
@@ -41,6 +41,10 @@ the integration should be, one of these APIs can be used:
  low level \l{ECMAScript Reference}{ECMAScript} engine API. Full documentation about using \l{Qt Script} to make an application
  scriptable can be found \l{Making Applications Scriptable}{here}.
 
+\warning This module is not actively developed. It is provided for backwards
+compatibility with Qt 4 only. For new code, use
+\l {JS API}{QJSEngine and related classes} in the Qt QML module instead.
+
 \section1 JS API
 This is a simple API, very similar to \l{Qt Script}, but limited to basic functionality. The main
  classes are QJSEngine and QJSValue, which can be used to embed pure \l{ECMAScript Reference}{ECMAScript} functionality
-- 
GitLab