March 24, 2012

useryy useryy
Lab Rat
14 posts

App can be launched by Qt Creator only.

 

My application can be launched by Qt Creator after clicking the “Run”.

After that, the application is deployed to the device with an icon can be seen in the menu.

But if I disconnect the device from PC and click the icon, the application wont be launched.

Why?

I’ve tried the application created by default. It can be launched by both method. Something must be wrong in my code, any clue?

5 replies

March 24, 2012

Tobias Hunger Tobias Hunger
Area 51 Engineer
3383 posts

Which device is it?

I’d start by checking the security settings of the application.

March 25, 2012

useryy useryy
Lab Rat
14 posts

The device is N9.

Is that the security settings you mean qtc_packaging\debian_harmattan\manifest.aegis?

My application needs the following rights on Symbian

  1. Allow network access on Symbian
    symbian:TARGET.CAPABILITY += NetworkServices

But I can’t find what is it on N9:
from THIS [harmattan-dev.nokia.com] link.

March 25, 2012

useryy useryy
Lab Rat
14 posts

I’ve removed all cpp files, now it can be launched by icon in app menu.
But adding the cpp files(no code do actually work), problem remains.

March 26, 2012

mlong mlong
Robot Herder
1551 posts

Then N9 isn’t a Symbian device. As such, the Symbian Target Capabilities have no effect on deploying or running N9 apps.

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

March 31, 2012

Mika Hanhijärvi Mika Hanhijärvi
Lab Rat
27 posts
useryy wrote:
I’ve removed all cpp files, now it can be launched by icon in app menu. But adding the cpp files(no code do actually work), problem remains.

Hard to say what is causing that, but it sounds like it could be a bug in your C++ code causing application to crash at startup.

 
  ‹‹ [solved]app installer version in symbian      QRotationReading interpretation ››

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