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. Qt Creator running two executables at once
Forum Update on Monday, May 27th 2025

Qt Creator running two executables at once

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 2.6k 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.
  • SebastianMS Offline
    SebastianMS Offline
    SebastianM
    wrote on last edited by SebastianM
    #1

    Hi,
    In Microsoft Visual C++ in properties for solution I can set "Multiple startup projects" and select two projects (generating executable). One is server, second is client. MSVC also automatically start debuging those projects.

    In Qt Creator the closest I get to this is to use windows bat files to start both executables. And then manually use "Attach to Unstarted Application" to start debuging.

    How else can I achieve this?

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, start Qt Creator 2 times (2 instances), one for server and one for client.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        If both executables are in independent projects, you can open both and start each application by selecting the run target.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • SebastianMS Offline
          SebastianMS Offline
          SebastianM
          wrote on last edited by
          #4

          Thank you both for your proposals.
          I don't need to work or debug first (server binary) application. It only needs to be started with second application on which I work.
          And when I close or finish current run i would like both application to be closed.

          Right now I launch server application by hand from file explorer and then start main (client) application from inside QtCreator.

          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