BlackFoXX
1st May 2009, 18:32
Hi,
is it possible to compile an icon directly into my application?
I've build a button an set a QIcon:
QPushButton button1 = new PushButton("button with icon", this);
button1->setIcon(QIcon("path/to/icon");
But then the icon has to be in the directory of my application.
Background is the licence of the icon-set. It is not allowed to distribute the icons, but to compile it into the application.
I hope you can help me.
Thanks in advance.
Greetz,
Jones
is it possible to compile an icon directly into my application?
I've build a button an set a QIcon:
QPushButton button1 = new PushButton("button with icon", this);
button1->setIcon(QIcon("path/to/icon");
But then the icon has to be in the directory of my application.
Background is the licence of the icon-set. It is not allowed to distribute the icons, but to compile it into the application.
I hope you can help me.
Thanks in advance.
Greetz,
Jones