qt 6.6.0 clean

This commit is contained in:
kleuter
2023-11-01 22:23:55 +01:00
parent 7b5ada15e7
commit 5d8194efa7
1449 changed files with 134276 additions and 31391 deletions

View File

@ -23,6 +23,14 @@ function(_qt_internal_wasm_add_target_helpers target)
set(APPNAME ${_target_output_name})
# Shared library builds preload plugins and qml imports by default.
# The json files are generated by scripts in qtbase/util/wasm/preload
if (QT_FEATURE_shared)
set(PRELOAD "preload: ['qt_plugins.json', 'qt_qml_imports.json'],")
else()
set(PRELOAD "")
endif()
get_target_property(target_output_directory ${target} RUNTIME_OUTPUT_DIRECTORY)
get_target_property(is_test ${target} _qt_is_test_executable)
@ -87,7 +95,7 @@ endfunction()
function(_qt_internal_add_wasm_extra_exported_methods target)
get_target_property(wasm_extra_exported_methods "${target}" QT_WASM_EXTRA_EXPORTED_METHODS)
set(wasm_default_exported_methods "UTF16ToString,stringToUTF16,JSEvents,specialHTMLTargets")
set(wasm_default_exported_methods "UTF16ToString,stringToUTF16,JSEvents,specialHTMLTargets,FS")
if(NOT wasm_extra_exported_methods)
set(wasm_extra_exported_methods ${QT_WASM_EXTRA_EXPORTED_METHODS})