summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2025-09-08 14:19:23 +0200
committerMichal Klocek <michal.klocek@qt.io>2025-10-28 12:58:10 +0200
commit1ac574f63caec2d2070eeedc946da310d87f66be (patch)
tree0b85b713b4f3f083996cf657ad74bcee1e980065
parente8137b35700c9edaf4158cbf1e27ce97099ab367 (diff)
Minor. Remove qml header from qwebengineframe
It seems that using qjsvalue in core make no so much sense as it needs qml engine. Remove the header so user app does not have direct qml dependency. Pick-to: 6.10 Change-Id: Icdc5ace44488904151f2ef0b1d0db097f036a30b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--src/core/api/qwebengineframe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/api/qwebengineframe.h b/src/core/api/qwebengineframe.h
index 44554987d..ea1cac9c1 100644
--- a/src/core/api/qwebengineframe.h
+++ b/src/core/api/qwebengineframe.h
@@ -6,7 +6,6 @@
#define QWEBENGINEFRAME_H
#include <QtWebEngineCore/qtwebenginecoreglobal.h>
-#include <QtQml/qjsvalue.h>
#include <QtCore/qcompare.h>
#include <QtCore/QList>
#include <QtCore/QSizeF>
@@ -19,6 +18,7 @@ class WebContentsAdapter;
}
QT_BEGIN_NAMESPACE
+class QJSValue;
class QWebEngineFrame
{