Sunday, June 13, 2010

How to Add Resources to Project in Qt

Its very simple, follow up these steps.

Create new Qrc file.

New Qrc file looks like this

Add the file to Qrc.

using the Resource file in project.


for example,

QIcon icon;

Note:- Prefix of icon can be changed to your wish.

No comments:

Post a Comment