diff --git a/doc/config/qtdoc.qdocconf b/doc/config/qtdoc.qdocconf
index 93d78104eca8b124f5e9be1b6f09c7251402c07f..4c08802786bcb5b5bc23951e1cfac905ef91552f 100644
--- a/doc/config/qtdoc.qdocconf
+++ b/doc/config/qtdoc.qdocconf
@@ -119,3 +119,5 @@ qhp.QtDoc.extraFiles         += images/qt-codesample.png
 
 # Add an .html file with sidebar content, used in the online style
 HTML.stylesheets             += style/qt5-sidebar.html
+
+macro.indextitle              = "\\title Qt $QT_VER"
diff --git a/doc/src/index.qdoc b/doc/src/index.qdoc
index 3e9b7aed5dcda359268b676597b0d51c4bd0e925..321d6b7ffe16051fce02c23b739e5dec9ff8e9d1 100644
--- a/doc/src/index.qdoc
+++ b/doc/src/index.qdoc
@@ -26,13 +26,13 @@
 ****************************************************************************/
 
 /*!
+\indextitle
 \page index.html
 \keyword Qt Reference Documentation
 
 \div {class="landing"}
     \div {class="col-1"}
             \div {class="heading"}
-                \title Qt 5.7
             \enddiv
 
                 Qt is a full development framework with tools designed to streamline