Skip to content
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

对cpp使用qtmoc的增量编译问题 #5124

Closed
Elite-stay opened this issue May 22, 2024 · 6 comments
Closed

对cpp使用qtmoc的增量编译问题 #5124

Elite-stay opened this issue May 22, 2024 · 6 comments
Labels
Milestone

Comments

@Elite-stay
Copy link

Elite-stay commented May 22, 2024

Xmake 版本

2.9.1 2.8.8

操作系统版本和架构

Ubuntu 20.04

描述问题

对cpp使用qt.moc规则会导致每次构建都会重新编译cpp

期待的结果

不要每次都重新编译

工程配置

test.zip

附加信息和错误日志

[ 20%]: compiling.qt.moc src/main.cpp
[100%]: build ok, spent 0.041s

@Elite-stay Elite-stay added the bug label May 22, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: Incremental compilation problem using qtmoc for cpp

@Elite-stay
Copy link
Author

#5121

waruqi added a commit that referenced this issue May 22, 2024
@waruqi
Copy link
Member

waruqi commented May 22, 2024

再试试 应该可以了 xmake update -s dev

@waruqi waruqi added this to the v2.9.2 milestone May 22, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Try again, it should work xmake update -s dev

@Elite-stay
Copy link
Author

再试试 应该可以了 xmake update -s dev

ok了

@waruqi waruqi closed this as completed May 23, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Try again, it should work xmake update -s dev

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants