The export name is now ${TARGET_NAME}Entry. This can also be overridden by using QT_WASM_EXPORT_NAME, both in CMake and qmake Change-Id: I59c97ae6e22f0b2720716e9d7eff7b6b13d37ab5 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
25 lines
453 B
HTML
25 lines
453 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<script src="a11y_basic_widgets.js" async></script>
|
|
|
|
<script>
|
|
window.onload = async () => {
|
|
let qt_instance = await a11y_basic_widgets_entry({
|
|
qtContainerElements: [document.getElementById("qt_container")],
|
|
});
|
|
}
|
|
</script>
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Qt Accessibility Tester</H1>
|
|
<div id="qt_container" style="width:640px; height:640px"></div>
|
|
</body>
|
|
|
|
</html>
|