diff --git a/packages/q/qtifw/xmake.lua b/packages/q/qtifw/xmake.lua index d84a0588c..d0200345a 100644 --- a/packages/q/qtifw/xmake.lua +++ b/packages/q/qtifw/xmake.lua @@ -8,6 +8,12 @@ package("qtifw") add_deps("aqt") + on_fetch(function (package, opt) + if opt.system then + return import("lib.detect.find_tool")("binarycreator", {check = "--help"}) + end + end) + on_install("@windows", "@msys", "@macosx", function (package) local host