Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Application not running on device
Forum Updated to NodeBB v4.3 + New Features

Application not running on device

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mannu
    wrote on last edited by
    #1

    Hey

    I have developed a Qt application using QtSDK4.6.3 and Qt Mobility1.0.2 my application gets the latitude and longitude through the device and writes it to a .txt file which is simultaneously created in the phone memory(C:). The application installs on the phone normally but it doesn't open on the application. after removing the Qt Mobility components for GPS and the file handling code, the application runs normally. Qt mobility for the device is installed in it. What is the problem?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Did you check the capabilities required? I am pretty sure you will need something special to access location data on symbian.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mannu
        wrote on last edited by
        #3

        In my application in the .pro file i have given the following code:

        CONFIG += MOBILITY
        mobility += location

        symbian:TARGET.CAPABILITY += NetworkServices Location

        what else do i need to add??

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          No idea, I never wrote any major program for symbian, sorry!

          Try adding all the capabilities you can get and check whether the app works then. Then remove capabilities till the app stops working again. Read/WriteUserData seem to be necessary for a surprisingly big list of things... Creating files also tends to be tricky, depending on where you want to store them.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mannu
            wrote on last edited by
            #5

            i edited the code to just get the position of device. no writing. i added all the capabilities, still when i install on the device it won't run. I noticed one thing, there is no option to create the smart installer package in the Qt Project setup options. But without the positioning code (where the app is just a layout), it runs perfectly. i also tried running the application on symbian belle by deploying it through qt 4.7.4 and mobility 1.2.0 . Still it doesnot open. What seems to be the problem?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved