[Qt-interest] Resources from dynamic libraries?
Ian Thomson
Ian.Thomson at iongeo.com
Tue Feb 3 09:38:16 CET 2009
Hi,
I am not sure if this will help but you might want to try calling the
Q_INIT_RESOURCE macro. Here is the documentation:
http://doc.trolltech.com/4.4/qdir.html#Q_INIT_RESOURCE
Cheers,
Ian.
Iurii Gordiienko wrote:
>
> Hi
> How can I use resources from dynamic libraries? One from my project are
> compiled as dynamic library, I can see resources (images) in *.so file,
> but when I try to load image from it - I can't load any datas... I use
> standart methods like: QIcon(":/images/ccc.ico") but have no properly
> results at all...
> Qt-4.4.3, Linux
> Thanks
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.
More information about the Qt-interest-old
mailing list