qt
qt copied to clipboard
Why is there DOS information, a lot of information displayed before the start window
Hello, once the compilation is complete, there is a lot of DOS information, and after that information is displayed, the application will be launched
I do not work with this on windows but i know with normal golang you have to pass -ldflags -H=windowsgui
to go build
to remove that command prompt on windows.
you should be able to pass it to qtdeploy like this qtdeploy -ldflags -H=windowsgui build desktop
just like you would with go build
@HikariKnight Thank you for your help. I have solved this problem by setting the environment variable before.I haven't been paying attention to this project for a long time. I recently noticed that the project has been compiled with -ldflags -H=windowsgui Now I need to display the DOS window again because of debugging requirements, but it is not displayed by default