diff options
| author | ruki <[email protected]> | 2020-06-10 22:33:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-10 09:19:21 +0800 |
| commit | 78f1671c09dcee3802fc3bc69211f38179e555d8 (patch) | |
| tree | 8e3d0ffa6420aafd0bbbfac7c99f054c73273008 /xmake/modules | |
| parent | 2541fc0f29a2bf76dfa8b6f0f1389888330d198b (diff) | |
improve qt rules
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/detect/sdks/find_qt.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua index a6a5d20f6..5ef3bd8b4 100644 --- a/xmake/modules/detect/sdks/find_qt.lua +++ b/xmake/modules/detect/sdks/find_qt.lua @@ -177,7 +177,11 @@ function main(sdkdir, opt) -- trace if opt.verbose or option.get("verbose") then cprint("checking for the Qt SDK directory ... ${color.success}%s", qt.sdkdir) - cprint("checking for the Qt SDK version ... ${color.success}%s", qt.sdkver) + if qt.sdkver then + cprint("checking for the Qt SDK version ... ${color.success}%s", qt.sdkver) + else + cprint("checking for the Qt SDK version ... ${color.nothing}${text.nothing}") + end end else |
