[Qt-interest] No Icons on SpreadSheet
Oluwafemi Ade
oamaximpact at gmail.com
Sat Jun 26 21:33:47 CEST 2010
Hello.......I checked the icon::isNull().....and it rets false...
Also from qt-doc I saw this
*"**Note: Even a non-null icon might not be able to create valid pixmaps,
eg. if the file does not exist (*the file exist in this case*) or cannot be
read"*
(? I don't know here, although I used the same image files on other parts
of my project...... specifically designer shows them, though I haven't
compiled that part).....any suggestion?
On Sat, Jun 26, 2010 at 2:02 PM, lists4pghanghas
<lists4pghanghas at gmail.com>wrote:
> Check whether they are available where they are expected by your code,
> in qrc or some relative
> dir. If they are not present, atleast in case of direct filenames your
> code could still compile with null QIcons. You can check that in your
> code also with QIcon::isNull()
>
> On Saturday 26 June 2010 04:51 PM, Oluwafemi Ade wrote:
> > Hello, I'm building a spreadsheet app....after creating actions, set
> > TING Icons on them and adding them to menus and toolbars, upon compile
> > and run, no icons appear, on the toolbars, though an indication of
> > their presence can be noticed (as a matter of fact, status tips show
> > when hovered over the toolbars, they work when clicked) but the icons
> > don't appear........please help!
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
> >
> >
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100626/3056a7f6/attachment.html
More information about the Qt-interest-old
mailing list