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. Bring QProcess's main window to front
Forum Updated to NodeBB v4.3 + New Features

Bring QProcess's main window to front

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 351 Views 2 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    I am starting and managing some Qt widget applications using QProcess. Before starting, I check in my list of QProcess-instances whether a specific process is already running. In that case, I would like to bring that application's window to front ('switch to').

    I could do that using the PID and Windows API, but I would prefer the Qt way (if there is one...?)

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Windows API is the only choice. You can't control from QProcess side.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      1

      • Login

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