summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-23 02:11:07 +0300
committerSaikari <[email protected]>2026-02-23 02:11:07 +0300
commit8990dc87238706323e46239368007de9a8f4c5c8 (patch)
tree770727182355bab0b78fa28d4d47b8feb2dde0f7
parente619f1ec47159ba18f8cb728706be4c562808888 (diff)
Remove redundant debug prints from Qt WebAssembly rules
-rw-r--r--xmake/rules/qt/xmake.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/xmake/rules/qt/xmake.lua b/xmake/rules/qt/xmake.lua
index 6aff00ff1..4adf4971e 100644
--- a/xmake/rules/qt/xmake.lua
+++ b/xmake/rules/qt/xmake.lua
@@ -31,12 +31,8 @@ rule("qt._wasm_app")
os.vcp(path.join(pluginsdir, "platforms/wasm_shell.html"), htmlfile)
io.gsub(htmlfile, "@APPNAME@", target:name())
import("core.base.semver")
- cprint("qt.sdkver: %s", qt.sdkver)
if qt.sdkver and semver.new(qt.sdkver):ge("6.0") then
- local data1, count1 = io.gsub(htmlfile, "@APPEXPORTNAME@", "createQtAppInstance")
- cprint("replaced APPEXPORTNAME: %s", count1)
- local data2, count2 = io.gsub(htmlfile, "@PRELOAD@", "")
- cprint("replaced PRELOAD: %s", count2)
+ io.gsub(htmlfile, "@APPEXPORTNAME@", "createQtAppInstance")
local preload = ""
-- @see https://github.com/xmake-io/xmake/issues/6182
local preloadfiles = target:values("wasm.preloadfiles")
@@ -236,7 +232,6 @@ rule("qt.quickapp_static")
-- we must set kind before target.on_load(), may we will use target in on_load()
on_load(function (target)
- print("qt.quickapp_static on_load")
target:set("kind", target:is_plat("android") and "shared" or "binary")
end)