[Qt-interest] resources in the static plug-in problem.
Penn Taylor
penn.taylor at atdeconsulting.com
Thu Aug 26 21:09:50 CEST 2010
>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
More information about the Qt-interest-old
mailing list