开发者

Set icon without *.pro

I have an application written with Qt (I use VS + Integrator). Need to set an icon for it. I re开发者_如何学运维ad "Setting the Application Icon" tutorial, but i can't use this method because I have no *.pro file. Googled for an hour and found no solution :( Any suggestions?


Create an application which is simply an empty QMainWindow (or some other widget) and then create a qmake project for it. You can typically do this with:

qmake -project

Then modify the qmake file per the Setting the Application Icon tutorial and rebuild your Makefile by running qmake.

Now examine the commands that are being executed and emulate that process on your build system.

These instructions might work if you're running Visual Studio.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜