maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Menu icons not appearing in Maemo (https://talk.maemo.org/showthread.php?t=67828)

mr_jrt 2011-01-03 20:41

Menu icons not appearing in Maemo
 
Been getting started with Qt for Maemo to build something I've been musing over.

Anyway, I've got the Win32 Qt Creator environment set up, got it building for the various targets (N900, QEMU, Simulator, and Win32), and have my little test proggie with auto rotation, stackable windows, and so on. What I've been unable to figure out though is how to get icons to appear, in particular on menus. They appear on the Win32 build, but none of the others.

Here's what I have for one of them...
Code:

aboutAct = new QAction(QIcon(":/resources/icon.png"), tr("&About"), this);
        aboutAct->setStatusTip(tr("Show the application's About box"));
        aboutAct->setIconVisibleInMenu(true);

I know it's possible on Maemo, as Gnumeric has them. I've just got no ideas right now, and the next step is to pore over the Gnumeric port's code. Which I might leave until more important bits work ;)

caco3 2011-04-18 18:33

Re: Menu icons not appearing in Maemo
 
I dont know how to do it either :(
Have the same issue. It work on my Linux, but not on the phone.

caco3 2011-04-18 19:02

Re: Menu icons not appearing in Maemo
 
Shame on you!!!

Why did you not first read the first post???

Go back in your dog house and play with your bone!

MohammadAG 2011-04-18 19:09

Re: Menu icons not appearing in Maemo
 
I could be wrong, but I think it's only possible with Gtk, at least on maemo.


All times are GMT. The time now is 16:37.

vBulletin® Version 3.8.8