PDA

View Full Version : How to add a resource using STATICALLY BUILT QT 5 running on Centos 6.5?



Trey
8th December 2014, 23:16
I'm having issues with trying to include an icon or image when running a STATICALLY built version of Qt 5.3.1 and Creator 3.2.0 (enterprise). I've tried to use the Q_INIT_RESOURCE macro, but still doesn't seem to work. If someone can show me how to add a simple icon in the window title of a dialog, that would be helpful. Thanks

anda_skoa
9th December 2014, 06:38
Is the icon not loaded or not included?

Cheers,
_

wysota
9th December 2014, 10:49
I'm having issues with trying to include an icon or image when running a STATICALLY built version of Qt 5.3.1 and Creator 3.2.0 (enterprise). I've tried to use the Q_INIT_RESOURCE macro, but still doesn't seem to work. If someone can show me how to add a simple icon in the window title of a dialog, that would be helpful. Thanks

Did you link the static image plugins with your application?