diff --git a/src/webengine/api/qquickwebenginescript.cpp b/src/webengine/api/qquickwebenginescript.cpp
index 590faf4f36734c01eeaacc6b19f723b0f7c2720d..acc5cedb7c7130a5038d57bfed8f0ac4b0be4b7c 100644
--- a/src/webengine/api/qquickwebenginescript.cpp
+++ b/src/webengine/api/qquickwebenginescript.cpp
@@ -403,6 +403,9 @@ void QQuickWebEngineScript::setRunOnSubframes(bool on)
     Q_EMIT runOnSubframesChanged(on);
 }
 
+/*!
+    \internal
+*/
 void QQuickWebEngineScript::timerEvent(QTimerEvent *e)
 {
     Q_D(QQuickWebEngineScript);