mirror of https://github.com/qt/qtgraphs.git
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:
parent
98a933fc88
commit
ad26001c76
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue