diff options
| author | jingkaimori <[email protected]> | 2023-04-03 10:34:09 +0800 |
|---|---|---|
| committer | jingkaimori <[email protected]> | 2023-04-03 10:34:09 +0800 |
| commit | 6f2a81b8e70ba19961eb7738120893ac7b42e7af (patch) | |
| tree | 24425892528721ac4b247d1e77efdf43aea4d9b2 | |
| parent | 11bb7953211c61455fac2d4bbdb16c7a1dd17a9d (diff) | |
fix import error
| -rw-r--r-- | xmake/rules/qt/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/qt/xmake.lua b/xmake/rules/qt/xmake.lua index 530bd72a0..d73660c47 100644 --- a/xmake/rules/qt/xmake.lua +++ b/xmake/rules/qt/xmake.lua @@ -121,7 +121,7 @@ rule("qt.widgetapp_static") end) on_config(function (target) - local frameworks, plugins, qt_sdkver = import("load")(target) + local frameworks, plugins, qt_sdkver = import("config_static")(target) if qt_sdkver:ge("5.0") then table.join2(frameworks, {"QtGui", "QtWidgets", "QtCore"}) else @@ -169,7 +169,7 @@ rule("qt.quickapp_static") end) on_config(function (target) - local frameworks, plugins = import("load")(target); + local frameworks, plugins = import("config_static")(target); table.join2(frameworks, {"QtGui", "QtQuick", "QtQml", "QtQmlModels", "QtCore", "QtNetwork"}) import("load")(target, {gui = true, plugins = plugins, frameworks = frameworks}) end) |
