September 22, 2011

deion deion
Lab Rat
69 posts

[Solved] App suddenly not showing in the main applications menu on N950

 

Hi all,

While developing my app, all of a sudden, a week ago my application did not show up on the main applications menu anymore. I remember this has happened before, but usually after a restart of the phone, rebuild & run from QtCreator it started showing up again. This time however it didn’t show up anymore, no matter what I tried. I am not an expert on debian packaging maybe I messed up some debian file in qtc_packaging/debian_harmattan?

I run the app from QtCreator and it runs ok, it just doesn’t show up in the apps menu.

If I go in the phone in Settings->Applications->Manage applications, I can find my app, although with the generic Qt icon, not with the custom .png icon I provided.

I tried removing the app and then dpkg -i appname.deb but this did not solve the issue. The app has all the entries inside /opt/appname, so I can run it from terminal on the phone.

I also tried apt-get update :D although I really don’t know what this command should do exactly…

Any ideas, more cmd line magic?

Thanks & regards,
Ionut

[EDIT: Alicemirror, set the thread to solved]

7 replies

September 23, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

Did you have upgraded your Qt from 4.7.3 to 4.7.4 and reopened your project ?

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 23, 2011

deion deion
Lab Rat
69 posts

Yes, I upgraded to the last version of Qt SDK/QtCreator;
I’m running my app using this latest version.

September 23, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

well, I supposed :)

As I have experienced is that the project does not run in a good way. This is – I suppose – due to that the previous version was building a wrong package with the issue of a non-singleinstance application (check a look to this page I wrote about it here [developer.qt.nokia.com])

The best and faster way I have found to solve this problem is to create a new project from scratch and add the old sources, qml etc. As you can see there are few things that are changed in the virtual folder of the project, the qml organization tree and other changes. Including those related to the packaging files (i.e. .desktop, role etc.) that now works but seems incompatible with the old projects.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 23, 2011

deion deion
Lab Rat
69 posts

Hi Alicemirror,

Your sugeestion worked, thanks !

I created a new project in QtCreator with the same name, added the other files, and now the icon is shown in the app menu.

Thanks,
Ionut

September 23, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

I’m happy :) I have solved the same problem passing through a couple of new versions before :)

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

October 3, 2011

ZapB ZapB
Robot Herder
1359 posts

Cool thanks for this tip. I was just stung by the same issue.

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

October 3, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

@ZapB: just as when you illuminate me with your advices :D

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

 
  ‹‹ OpenVG on wince: nothing painted on screen (example application Star.exe)      [Solved] Embedded Linux data directory ››

You must log in to post a reply. Not a member yet? Register here!