From 7a8a2fec1e29d7ac92b8bd3fb536b548d9619abe Mon Sep 17 00:00:00 2001 From: Uwe Siems Date: Wed, 2 Oct 2024 16:33:17 +0200 Subject: [PATCH] reintroduce the runJavaScript method on QWebEnginePage for Qt 6 albeit without the callback parameter so far --- generator/typesystem_webenginewidgets.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/generator/typesystem_webenginewidgets.xml b/generator/typesystem_webenginewidgets.xml index 110827b60..992a52ea3 100644 --- a/generator/typesystem_webenginewidgets.xml +++ b/generator/typesystem_webenginewidgets.xml @@ -4,6 +4,11 @@ + + void runJavaScript(QWebEnginePage* theWrappedObject, const QString& scriptSource, quint32 worldId = 0) { + theWrappedObject->runJavaScript(scriptSource, worldId); + } +