Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Starting /usr/bin/appcontroller with "--launch" parameter from QT Creator
Forum Updated to NodeBB v4.3 + New Features

Starting /usr/bin/appcontroller with "--launch" parameter from QT Creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 753 Views
  • 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.
  • N Offline
    N Offline
    NickAger
    wrote on last edited by
    #1

    I am trying to start a QT Quick app and another QT terminal app so that they are running together from QT Creator on a device using Boot2QT. However starting one application kills the other. The Application output shows:

    quit
    Process exited with exit code 1
    15:25:31: /usr/bin/appcontroller on Qt Debug Bridge device b2qt-apalis-imx8-00142d67d632 exited with code 0
    

    I have removed the deployment step "Stop already running application" - but it made no difference.

    I thought I had found the solution by investigating command line options on /usr/bin/appcontroller:

    # /usr/bin/appcontroller --help
    .
    .
    .
    --launch Start application without stopping already running application
    .
    .
    .
    
    

    However I cannot find a way to add --launch to /usr/bin/appcontroller within QTCreator:

    Screenshot 2023-05-12 at 15.51.59.png

    --launch is passed to my application rather than /usr/bin/appcontroller.

    I wondered if instead there was a way to configure using appcontroller.conf but looking at the source for appcontroller it appears not.

    Any ideas?

    J 1 Reply Last reply
    0
    • N NickAger

      I am trying to start a QT Quick app and another QT terminal app so that they are running together from QT Creator on a device using Boot2QT. However starting one application kills the other. The Application output shows:

      quit
      Process exited with exit code 1
      15:25:31: /usr/bin/appcontroller on Qt Debug Bridge device b2qt-apalis-imx8-00142d67d632 exited with code 0
      

      I have removed the deployment step "Stop already running application" - but it made no difference.

      I thought I had found the solution by investigating command line options on /usr/bin/appcontroller:

      # /usr/bin/appcontroller --help
      .
      .
      .
      --launch Start application without stopping already running application
      .
      .
      .
      
      

      However I cannot find a way to add --launch to /usr/bin/appcontroller within QTCreator:

      Screenshot 2023-05-12 at 15.51.59.png

      --launch is passed to my application rather than /usr/bin/appcontroller.

      I wondered if instead there was a way to configure using appcontroller.conf but looking at the source for appcontroller it appears not.

      Any ideas?

      J Offline
      J Offline
      JanWin
      wrote on last edited by JanWin
      #2

      @NickAger
      To achieve your desired command line,
      you could add --launch as the "Alternate executable command" and then the executable as command line argument.
      cda8f347-2c10-4bd5-b4b5-f2d724a53a73-image.png

      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