如何隐藏我的Windows Gtk应用程序的命令提示符? [英] How to hide command prompt for my Windows Gtk Apps?

查看:169
本文介绍了如何隐藏我的Windows Gtk应用程序的命令提示符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用MinGW工具链在Windows中编译Gtk应用程序,但是当我运行我的应用程序时,会出现命令提示符窗口。我怎样才能让这个提示消失?

I am compiling Gtk applications in Windows with MinGW toolchain, but when I run my apps, a command prompt window appears. How can I make this prompt disappear?

推荐答案

检查的这篇文章出来。您必须在编译时指定-mwindows。

Check this article out. You have to specify -mwindows at compile time.

这篇关于如何隐藏我的Windows Gtk应用程序的命令提示符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆