I need to revive this thread since i have again some problems with the resources...
I have some custom widget plugins that have pixmap properties.
In design time and preview all works as it should.
But at run time some pixmaps didn't show up while other pixmap properties did.
After exemining the ui and the uic generated code I found out that the pixmaps I choose in designer (from a resource file) are simply not being saved when I save the form.
So far I could not find an explanation for this, and was wondering if any of you might know what I might be doin to couse this?
As I said, the strange thing about this, is that its not for all pixmap properties, just for some...
This is the ui xml code where you can see a correct saved property:
<property name="maskPixmap" stdset="0" >
<pixmap resource="../sharpeye.qrc" >:/res/bt_zoom_plus1.png</pixmap>
</property>
<property name="maskPixmap" stdset="0" >
<pixmap resource="../sharpeye.qrc" >:/res/bt_zoom_plus1.png</pixmap>
</property>
To copy to clipboard, switch view to plain text mode
And here a broken saved property:
<property name="firstStatePixmap" stdset="0" >
<pixmap/>
</property>
<property name="firstStatePixmap" stdset="0" >
<pixmap/>
</property>
To copy to clipboard, switch view to plain text mode
So no wonder the C++ generated code sets an empty QPixmap...
Any idea what I might be doing wrong to couse this, or can it be a bug?
Thanks.
Bookmarks