You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workspace> xmake create -t qt.widgetapp testqt
create testqt ...
[+]: src\main.cpp
[+]: src\mainwindow.cpp
[+]: src\mainwindow.h
[+]: src\mainwindow.ui
[+]: xmake.lua
[+]: .gitignore
create ok!
workspace>cd testqt
workspace\testqt> xmake f --qt=D:\Qt\6.3.0\msvc2019_64\
checking for platform ... windows
checking for architecture ... x64
checking for Microsoft Visual Studio (x64) version ... 2022
checking for Qt SDK directory ... D:/Qt/6.3.0/msvc2019_64
checking for Qt SDK version ... 6.3.0
workspace\testqt> xmake
[ 14%]: compiling.qt.ui src\mainwindow.ui
error: method 'str' is notcallable (a nil value)
期待的结果
编译通过。
工程配置
No response
附加信息和错误日志
workspace\testqt> xmake -vD
error: @programdir\core\main.lua:280: @programdir\actions\build\main.lua:166: ...mdir\core\sandbox\modules\import\core\base\scheduler.lua:96: ...mdir\core\sandbox\modules\import\core\base\scheduler.lua:56: @programdir\modules\private\async\runjobs.lua:256: @programdir\core\base\path.lua:132: method 'str' is notcallable (a nil value)
stack traceback:
[@programdir\core\base\path.lua:132]: in function 'concat'
[@programdir\modules\core\tools\cl.lua:506]:
[@programdir\modules\private\utils\batchcmds.lua:242]: in function 'compile'
[@programdir\rules\qt\moc\xmake.lua:95]: in function 'script'
[@programdir\actions\build\kinds\object.lua:86]: in function 'jobfunc'
[@programdir\modules\private\async\runjobs.lua:232]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:872: in function 'os.raiselevel'
(...tail calls...)
@programdir\modules\private\async\runjobs.lua:256: in field 'catch'
@programdir\core\sandbox\modules\try.lua:127: in global 'try'
@programdir\modules\private\async\runjobs.lua:218: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:388: in function <@programdir\core\base\scheduler.lua:385>
stack traceback:
@programdir\core\base\utils.lua:290: in function <@programdir\core\base\utils.lua:280>
[C]: in function 'error'
@programdir\core\base\os.lua:872: in function 'os.raiselevel'
(...tail calls...)
...mdir\core\sandbox\modules\import\core\base\scheduler.lua:56: in field 'co_start_withopt'
@programdir\modules\private\async\runjobs.lua:217: in function <@programdir\modules\private\async\runjobs.lua:162>
[C]: in function 'xpcall'
@programdir\core\base\utils.lua:280: in function 'base/utils.trycall'
@programdir\core\base\scheduler.lua:504: in function 'base/scheduler.co_group_begin'
...mdir\core\sandbox\modules\import\core\base\scheduler.lua:94: in field 'co_group_begin'
@programdir\modules\private\async\runjobs.lua:162: in function <@programdir\modules\private\async\runjobs.lua:56>
(...tail calls...)
@programdir\actions\build\build.lua:252: in function <@programdir\actions\build\build.lua:240>
(...tail calls...)
@programdir\actions\build\main.lua:103: in global '_do_build'
@programdir\actions\build\main.lua:150: in function <@programdir\actions\build\main.lua:144>
[C]: in function 'xpcall'
@programdir\core\base\utils.lua:280: in function 'base/utils.trycall'
@programdir\core\sandbox\modules\try.lua:121: in global 'try'
@programdir\actions\build\main.lua:142: in function <@programdir\actions\build\main.lua:108>
(...tail calls...)
[C]: in function 'xpcall'
@programdir\core\base\utils.lua:280: in function 'base/utils.trycall'
(...tail calls...)
@programdir\core\base\task.lua:519: in function 'base/task.run'
@programdir\core\main.lua:278: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:388: in function <@programdir\core\base\scheduler.lua:385>
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:872: in function 'os.raiselevel'
(...tail calls...)
@programdir\core\main.lua:280: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:388: in function <@programdir\core\base\scheduler.lua:385>
The text was updated successfully, but these errors were encountered:
Xmake 版本
xmake v2.6.6+HEAD.da8dc993f
操作系统版本和架构
Windows 10 version 21H2
描述问题
将 Xmake 从 v2.6.5 升级到 v2.6.6 后,编译 Qt Widgets 工程失败,遂尝试编译最简的脚手架工程,依然失败。
命令如下:
期待的结果
编译通过。
工程配置
No response
附加信息和错误日志
The text was updated successfully, but these errors were encountered: