Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Remote deploy app not stopping.
Forum Updated to NodeBB v4.3 + New Features

Remote deploy app not stopping.

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.5k 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.
  • B Offline
    B Offline
    bucksbell
    wrote on last edited by
    #1

    Hi All

    I'm running a Ubuntu 13.10 host with QtCreator 2.8.1 deploying to a separate Ubuntu 13.10 target.

    After successfully deploying and running my command line app, when I click "stop" I see:

    User requested stop. Shutting down...

    Followed shortly after by:

    Application did not finish in time, aborting.

    Neither of which appear to terminate or kill the application.

    I've added CONFIG += console to the pro, and I instantiate a QCoreApplication in main().

    I've tried registering signal handlers as suggested here:

    http://qt-project.org/forums/viewthread/1227

    I can terminate from the command line on the target machine using a kill -1 or kill -15 <pid> and the above handlers are called.

    When I press the stop button in QtCreator however the handlers never fire !

    Its like the signals never arrive.

    Am I missing something ?

    TIA.

    Andrew.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DesertF0x
      wrote on last edited by
      #2

      Same here on Debian testing with Qt Creator 3.0.1 and Raspberry Pi as remote device ... any Ideas?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bucksbell
        wrote on last edited by
        #3

        I believe our problem was an incorrect path to the application. We had inserted a extraneous forward slash, so when the IDE tries to kill the application it tries to get a pid from the path. If the path is wrong this fails and eventually times out. After correcting this it now works. Hope this helps.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DesertF0x
          wrote on last edited by
          #4

          Ah thx, makes sense.
          I am using cmake and so I can not remove the slash in the "remote directory" field. Via "alternate executable on device" I have to add a ./ in the beginning to make it run which seems to create the same 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