From 86739912c5630ad7033b1d7f4c206489b6d201b0 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 15 Dec 2023 00:40:12 +0800 Subject: [PATCH] fix qt for macos #4499 --- xmake/rules/qt/load.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua index 3169b55c1d..4ae9292443 100644 --- a/xmake/rules/qt/load.lua +++ b/xmake/rules/qt/load.lua @@ -348,7 +348,6 @@ function main(target, opt) target:add("rpathdirs", "@executable_path/Frameworks", qt.libdir) else target:add("rpathdirs", qt.libdir) - _add_includedirs(target, qt.includedir) -- remove qt frameworks local frameworks = table.wrap(target:get("frameworks")) @@ -360,6 +359,7 @@ function main(target, opt) end target:set("frameworks", frameworks) end + _add_includedirs(target, qt.includedir) _add_includedirs(target, path.join(qt.mkspecsdir, "macx-clang")) target:add("linkdirs", qt.libdir) elseif target:is_plat("linux") then