On Thu, Apr 06, 2006 at 11:32:57AM +0200, Abdelrazak Younes wrote: > Andre Poenitz a écrit : > >On Wed, Apr 05, 2006 at 12:47:22PM +0200, Abdelrazak Younes wrote: > >>Abdelrazak Younes a écrit : > >>>Helge Hafting a écrit : > >>>Concerning the math panel, it used to work great also last time I > >>>checked (before the ui file conversion) but I see now that there's a lot > >>>of problems. I use exclusively the math toolbar so I didn't notice. I'll > >>>try to have a look at this over the week-end. > >>It seems that Qt4 ui format doesn't support embedded icons like older > >>version did. I found similar xpm in "trunk/images". I have used those > >>for now but I am missing the one that should come with the style > >>PushButton. But the icons still do not show in the math panel under > >>Windows... Any idea? > > > >Put them in a .qrc resource file. > > At compile time?
Sure. The 'resource compiler' will create some C++ source file (pretty similar to .xpm actually), that gets compiled, linked in, and at run time you access the resources like ordinary files in some kind of 'virtual file system' with root at ':/'. Work pretty well. Andre'