Stop QtGraphs 3D examples crashing with wasm

Forcing extra link options with Qt 6.8.0 wasm caused crashes,
possibly due to the emscripten sdk version difference between
Qt 6.7 and Qt 6.8.

Pick-to: 6.8.0 6.8
Fixes: QTBUG-128889
Change-Id: Ica5b7158a52c4bb5049a59063a32bb9386d6d608
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
This commit is contained in:
Tomi Korpipaa 2024-09-13 11:20:44 +03:00
parent 98a933fc88
commit ad26001c76
5 changed files with 0 additions and 35 deletions

View File

@ -37,13 +37,6 @@ target_link_libraries(axishandling PUBLIC
Qt::Graphs
)
if (EMSCRIPTEN)
target_link_options(axishandling PRIVATE
-sFULL_ES3=1
-sNO_DISABLE_EXCEPTION_CATCHING
)
endif()
qt6_add_qml_module(axishandling
URI AxisHandlingExample
NO_RESOURCE_TARGET_PATH

View File

@ -38,13 +38,6 @@ target_link_libraries(bars PUBLIC
Qt::Graphs
)
if (EMSCRIPTEN)
target_link_options(bars PRIVATE
-sFULL_ES3=1
-sNO_DISABLE_EXCEPTION_CATCHING
)
endif()
qt6_add_qml_module(bars
URI BarsExample
NO_RESOURCE_TARGET_PATH

View File

@ -30,13 +30,6 @@ target_link_libraries(equation PRIVATE
Qt6::Graphs
)
if (EMSCRIPTEN)
target_link_options(equation PRIVATE
-sFULL_ES3=1
-sNO_DISABLE_EXCEPTION_CATCHING
)
endif()
qt_add_qml_module(equation
URI EquationExample
NO_RESOURCE_TARGET_PATH

View File

@ -31,13 +31,6 @@ target_link_libraries(scatter PRIVATE
Qt6::Graphs
)
if (EMSCRIPTEN)
target_link_options(scatter PRIVATE
-sFULL_ES3=1
-sNO_DISABLE_EXCEPTION_CATCHING
)
endif()
qt_add_qml_module(scatter
URI ScatterExample
NO_RESOURCE_TARGET_PATH

View File

@ -37,13 +37,6 @@ target_link_libraries(surfacegallery PUBLIC
Qt::Graphs
)
if (EMSCRIPTEN)
target_link_options(surfacegallery PRIVATE
-sFULL_ES3=1
-sNO_DISABLE_EXCEPTION_CATCHING
)
endif()
qt6_add_qml_module(surfacegallery
URI SurfaceGalleryExample
NO_RESOURCE_TARGET_PATH