[Qt-interest] resources in the static plug-in problem.
Malyushytsky, Alex
alex at wai.com
Thu Aug 26 22:25:58 CEST 2010
>> Do you initialize the resources with the Q_INIT_RESOURCE macro as
>> specified at the following url?
>> http://doc.qt.nokia.com/4.6/qdir.html#Q_INIT_RESOURCE
>> -Penn Taylor
Thanks Penn,
That was a source of problem.
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Penn Taylor
Sent: Thursday, August 26, 2010 12:10 PM
To: Qt-interest at trolltech.com
Subject: Re: [Qt-interest] resources in the static plug-in problem.
>Date: Wed, 25 Aug 2010 18:21:39 -0700
>From: "Malyushytsky, Alex" <alex at wai.com>
>Subject: [Qt-interest] resources in the static plug-in problem.
>To: "qt-interest at trolltech.com" <qt-interest at trolltech.com>
>
>I have two project.
>
>First one builds executable and basically can consist of main.cpp
>which uses static plug-in Qt aproach to call function through plug-in
>interface which displays widget and do some other work.
>
>Such widget is complex widget which displays menu, toolbars, etc.
>All the resources ( png files for pixmap ) are located into the second
>project, included in the few qrc files (which are compiled there as
>usually for qt project).
>
>But for some reason application displays empty pixmaps, even though
>every other piece of logic which is present in the plug-in project >works.
>
>QDesigner also has no problem to display the results.
>
>Any idea what is wrong and how it can be fixed?
>
Do you initialize the resources with the Q_INIT_RESOURCE macro as
specified at the following url?
http://doc.qt.nokia.com/4.6/qdir.html#Q_INIT_RESOURCE
-Penn Taylor
>Thanks in advance,
>
>Alex Malyushytsky
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
“Please consider our environment before printing this email.”
More information about the Qt-interest-old
mailing list