Closed aiyolo closed 3 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: xmake qt.widgetapp rule cannot be configured to output logs to the terminal
add_ldflags("/subsystem:console")
默认 gui 程序 windows subsystem 当然不会回显到 console,这个你要自己按上面方式配,或者自己代码里另开 console 绑定 stdout
这个跟 xmake 又没啥关系,自己 google 下 win gui程序如何终端输出?
Bot detected the issue body's language is not English, translate it automatically.
Of course, the default gui program windows subsystem will not echo to the console. You have to configure this yourself according to the above method, or open a separate console in your own code to bind stdout.
This has nothing to do with xmake. If you google the win gui program yourself, what if the terminal outputs it?
Thank you!
Xmake Version
v2.9.2+HEAD.6b6557c54
Operating System Version and Architecture
windows11
Describe Bug
Expected Behavior
应该支持是否输出日志到终端。
Project Configuration
Additional Information and Error Logs
nothing