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. App can be launched by Qt Creator only.
Forum Updated to NodeBB v4.3 + New Features

App can be launched by Qt Creator only.

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 4 Posters 2.7k 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.
  • U Offline
    U Offline
    useryy
    wrote on last edited by
    #1

    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?

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

      Which device is it?

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

      1 Reply Last reply
      0
      • U Offline
        U Offline
        useryy
        wrote on last edited by
        #3

        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

        Allow network access on Symbian

        symbian:TARGET.CAPABILITY += NetworkServices

        But I can't find what is it on N9:
        from "THIS":http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Harmattan_security_Security_guide_Harmattan_APIs_that_require_credentials.html link.

        1 Reply Last reply
        0
        • U Offline
          U Offline
          useryy
          wrote on last edited by
          #4

          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.

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

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

            Software Engineer
            My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              miksuh
              wrote on last edited by
              #6

              [quote author="useryy" date="1332663400"]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.[/quote]

              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.

              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