xmake-vscode icon indicating copy to clipboard operation
xmake-vscode copied to clipboard

支持为qt项目提供完善的intellisense

Open Itsusinn opened this issue 5 years ago • 2 comments

我已经使用过xmake project -k compile_commands生成compile_commands.json文件 但是intellisense无法识别*.ui生成的ui_.h文件 推测是compile_commands.json的includePath不含ui_.h

Itsusinn avatar Sep 18 '20 04:09 Itsusinn

现行解决办法,ui_.h是build后产生的,如使intellisense正常工作则将 ui_.h从build copy到src目录下 并xmake project -k compile_commands重新生成compile_commands.json文件即可

Itsusinn avatar Sep 18 '20 04:09 Itsusinn

这块还不支持,等回头有时间再看看好了。

waruqi avatar Sep 18 '20 05:09 waruqi

最近几个版本 xmake 应该已经支持生成带 qt 的 compile_commands 了

waruqi avatar Aug 19 '22 12:08 waruqi