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. [ALTERNATIVE APPROACH] How to launch Qt applications from running Qt application (QWS problems?)...
Forum Updated to NodeBB v4.3 + New Features

[ALTERNATIVE APPROACH] How to launch Qt applications from running Qt application (QWS problems?)...

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 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.
  • S Offline
    S Offline
    st2000
    wrote on last edited by
    #1

    Hi,

    1. Don't really know what to search for to find this answer. I poked around using QWS but didn't find a good match to my problem. If any want to just point me in the right direction that would be appreciated.

    -2. Sorry about the all caps Qt, etc. But I really don't know how to turn off the spell checker on this tablet.-

    Ok, so I have several Qt applications which run independently on an embedded MIPS platform. They all are invoked like "app_name -QWS" (again, spell checker). They all run windowless taking up the whole screen.

    What I would like to do is create a supervisory Qt menu like application that will launch any of these previously created Qt applications. Then, when I exit one of these launched applications I would resume running the supervisory Qt menu application.

    Currently, when launching the previously created Qt application from the supervisory Qt application the Linux MIPS box reboots. I thought "sure, I'm trying to start a second QWS (again, spell checker)". So I removed the QWS from the start up command. The Linux box still reboots.

    For testing purposes, we created a supervisory Qt application which did not need a windows server. It displays nothing on the screen. It simply starts up the previously created Qt application. That worked.

    So I am left to believe one can not start a Qt application with a window server (I.e. APP_NAME -QWS) then try to start another application from within that application with or with out a new window server. Is that true?

    -thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      st2000
      wrote on last edited by
      #2

      Not really sure if what I was trying to do above is possible. And it needs to get done. So here's what we are going to do instead:

      1. A script is started which will start the supervising Qt program.

      2. The supervising Qt program will present a menu of several other Qt program. The user picks one and the supervising Qt program will terminate and return a value to the script.

      3. The script uses this value to pick which Qt program to run.

      4. When that Qt program terminates the scripts will start up the supervising Qt program and the cycle repeats its self.

      I have only implimneted parts of this in the past, but see no reason why it wouldn't work when combined to perform the above feature.

      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