diff --git a/doc/src/scripting.qdoc b/doc/src/scripting.qdoc
index 309a4b270948d9935b2961a8ece507a5cfb14fa3..f15a28eb7ef00001b104d3771bb2f06ecb4ad938 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