QT学习:Qt中应用程序图标的修改
来源:互联网 发布:sniffer捕获别人的数据 编辑:程序博客网 时间:2024/05/20 05:54
Setting the Application Icon on Windows
First, create an ICO format bitmap file that contains the icon image. This can be done with e.g. Microsoft Visual C++: SelectFile|New, then select theFiletab in the dialog that appears, and chooseIcon. (Note that you do not need to load your application into Visual C++; here we are only using the icon editor.)
Store the ICO file in your application's source code directory, for example, with the namemyappico.ico. Then, create a text file called, say,myapp.rcin which you put a single line of text:
IDI_ICON1 ICON DISCARDABLE "myappico.ico"Finally, assuming you are using qmake to generate your makefiles, add this line to yourmyapp.profile:
RC_FILE = myapp.rcRegenerate your makefile and your application. The .exefile will now be represented with your icon in Explorer.
If you do not use qmake, the necessary steps are: first, run thercprogram on the.rcfile, then link your application with the resulting.resfile.
这里给一个icon图标下载的网址:
http://www.easyicon.net/
- QT学习:Qt中应用程序图标的修改
- QT修改应用程序图标
- Qt中修改应用程序和标题栏的图标
- Qt应用程序的图标
- Qt应用程序的图标
- Qt中更改应用程序的图标
- Qt Creator应用程序发布及修改应用程序图标的方法
- Qt Creator应用程序发布及修改应用程序图标的方法
- Qt Creator应用程序发布及修改应用程序图标的方法
- Qt Creator应用程序发布及修改应用程序图标的方法
- Qt Creator应用程序发布及修改应用程序图标的方法
- Qt中修改可执行文件的图标
- qt学习之修改图标
- QT 总结(二) Qt Creator应用程序发布及修改应用程序图标的方法
- QT应用程序图标的设置
- QT应用程序图标的定义
- QT更改应用程序的图标
- QT中修改应用程序的icon
- 【转】给定一个函数rand5(),使函数rand7()可以随机等概率的生成1-7的整数
- HttpContext.Current并非无处不在
- POJ 3683 Priest John's Busiest Day
- 用户界面线程AfxBeginThread的使用
- 欧拉回路 + 数据结构 + dfs
- QT学习:Qt中应用程序图标的修改
- uva 10815
- linux中select()函数分析 (我已读过,并进行了微改动)
- 函数指针和指针函数
- sandbox paypal
- 阿里巴巴2013实习生笔试题精选2道算法题
- android系统信息(内存、cpu、sd卡、电量、版本)获取
- Bitmap XML和BitmapDrawable应用实例
- UIButton上使用UIEdgeInsetsMaketitle跟图片对齐