diff options
| author | jingkaimori <[email protected]> | 2023-04-02 16:10:39 +0800 |
|---|---|---|
| committer | jingkaimori <[email protected]> | 2023-04-02 16:10:39 +0800 |
| commit | abd463ca2191769b6ee6012f4b823ce4c3c8623f (patch) | |
| tree | 7b19c1c8f449cd00e27923e5cc5a66498a8d960d | |
| parent | 99cdfb3572d3c1cc4e60f56c2cdff141c09fbb37 (diff) | |
adjust code style
| -rw-r--r-- | xmake/rules/qt/xmake.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/rules/qt/xmake.lua b/xmake/rules/qt/xmake.lua index a0aed331d..0a73817c4 100644 --- a/xmake/rules/qt/xmake.lua +++ b/xmake/rules/qt/xmake.lua @@ -165,10 +165,10 @@ rule("qt.widgetapp_static") elseif target:is_plat("wasm") then plugins.QWasmIntegrationPlugin = {linkdirs = "plugins/platforms", links = {"qwasm"}} if qt_sdkver then - if qt_sdkver:lt("6.0") then - table.join2(frameworks, "QtEventDispatcherSupport", "QtFontDatabaseSupport", "QtEglSupport") - else + if qt_sdkver:ge("6.0") then table.join2(frameworks, "QtOpenGL") + else + table.join2(frameworks, "QtEventDispatcherSupport", "QtFontDatabaseSupport", "QtEglSupport") end end end @@ -255,10 +255,10 @@ rule("qt.quickapp_static") elseif target:is_plat("wasm") then plugins.QWasmIntegrationPlugin = {linkdirs = "plugins/platforms", links = {"qwasm"}} if qt_sdkver then - if qt_sdkver:lt("6.0") then - table.join2(frameworks, "QtEventDispatcherSupport", "QtFontDatabaseSupport", "QtEglSupport") - else + if qt_sdkver:ge("6.0") then table.join2(frameworks, "QtOpenGL") + else + table.join2(frameworks, "QtEventDispatcherSupport", "QtFontDatabaseSupport", "QtEglSupport") end end end |
