summaryrefslogtreecommitdiffstats
path: root/src/core/api
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-02-09 16:48:29 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-04-30 07:45:53 +0100
commit38dff99542288281ac52bcc63d2dfba0ec290300 (patch)
treec3f14f1f99d01b1d2502155e91303b729c598cef /src/core/api
parentbf1bbec91d007594023a090d0ae447746277fdf9 (diff)
Add Qt WebEngine version getter
It can be separate from Qt version. Change-Id: I28e0ef0d715e3cdf89880931dfa519736100e2fc Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/api')
-rw-r--r--src/core/api/qtwebenginecoreglobal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/api/qtwebenginecoreglobal.h b/src/core/api/qtwebenginecoreglobal.h
index c425d1478..a20884d7d 100644
--- a/src/core/api/qtwebenginecoreglobal.h
+++ b/src/core/api/qtwebenginecoreglobal.h
@@ -53,6 +53,9 @@ QT_BEGIN_NAMESPACE
#define ASSERT_ENUMS_MATCH(A, B) Q_STATIC_ASSERT_X(static_cast<int>(A) == static_cast<int>(B), "The enum values must match");
+Q_WEBENGINECORE_EXPORT Q_DECL_CONST_FUNCTION const char *qWebEngineVersion() noexcept;
+Q_WEBENGINECORE_EXPORT Q_DECL_CONST_FUNCTION const char *qWebEngineChromiumVersion() noexcept;
+
QT_END_NAMESPACE
#endif // QTWEBENGINECOREGLOBAL_H