-
-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法识别数据盘上的Qt环境 #5801
Comments
改成 或者自己 加 print 调试下 https://github.com/xmake-io/xmake/blob/dev/xmake/modules/detect/sdks/find_qt.lua |
Title: Cannot recognize the Qt environment on the data disk Xmake version2.9.5 Operating system version and architectureGalaxy Kirin Describe the problemWhen executing xmake f --qt=/data/Qt5.14.2, it prompts Expected resultsCan be used normally Project configuration
Additional information and error logschecking for platform... linux
checking for architecture ... arm64
checking for gcc ... /usr/bin/gcc
checkinfo: runv(zig version) failed(127)
checking for zig... no
checkinfo: runv(zig version) failed(127)
checking for zig... no
checkinfo: runv(nim --version) failed(127)
checking for nim... no
checkinfo: runv(nim --version) failed(127)
checking for nim... no
checking for unzip .../usr/bin/unzip
checking for git .../usr/bin/git
checking for gzip .../bin/gzip
checking for tar .../bin/tar
checking for Qt SDK directory ... %s
checking for Qt SDK version ... no
error: @programdir/core/main.lua:329: @programdir/rules/qt/ui/xmake.lua:35: uic not found!
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:1004]: in function 'raiselevel'
[@programdir/core/sandbox/modules/utils.lua:143]: in function 'assert'
[@programdir/rules/qt/ui/xmake.lua:35]: in function 'on_config'
[...dir/core/sandbox/modules/import/core/project/project.lua:133]: in function '_config_target'
[...dir/core/sandbox/modules/import/core/project/project.lua:157]: in function '_config_targets'
[...dir/core/sandbox/modules/import/core/project/project.lua:204]: in function 'load_targets'
[@programdir/actions/config/main.lua:407]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:241]:
[@programdir/core/base/task.lua:491]: in function 'run'
[@programdir/core/main.lua:327]: in function 'cotask'
[@programdir/core/base/scheduler.lua:406]:
stack traceback:
[C]: in function 'error'
@programdir/core/base/os.lua:1004: in function 'os.raiselevel'
(...tail calls...)
@programdir/core/main.lua:329: in upvalue 'cotask'
@programdir/core/base/scheduler.lua:406: in function <@programdir/core/base/scheduler.lua:399> |
Try changing the directory structure to Or add print to debug yourself https://github.com/xmake-io/xmake/blob/dev/xmake/modules/detect/sdks/find_qt.lua |
下载源码编译完了之后, |
After downloading the source code and compiling it, |
这种权限问题,你自己研究下么,跟 xmake 又没啥关系。chmod 自己搞下 |
Should you study this permission issue yourself? It has nothing to do with xmake. chmod and do it yourself |
应该是权限问题,数据盘是mount出来然后noexec的,应该修一下 |
It should be a permissions issue. The data disk is mounted and then noexec. You should fix the judgment of |
提示啥,这种出现概率不到 1% ,有问题调下 find_qt.lua 就行了,加了 logs,也没几个人能修,还是得调这个 |
Tip, the probability of this happening is less than 1%. If there is a problem, just adjust find_qt.lua. After adding logs, few people can fix it. You still need to adjust this. |
Xmake 版本
2.9.5
操作系统版本和架构
银河麒麟
描述问题
执行xmake f --qt=/data/Qt5.14.2时,提示
Qt SDK directory ... %s
,数据盘不是nas的期待的结果
可以正常使用
工程配置
xmake f --qt=/data/Qt5.14.2 -vD
附加信息和错误日志
The text was updated successfully, but these errors were encountered: