Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How to make pyside6 programs run only one program at a time to avoid duplicate opening
Forum Updated to NodeBB v4.3 + New Features

How to make pyside6 programs run only one program at a time to avoid duplicate opening

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 222 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.
  • Z Offline
    Z Offline
    zhenzi0322
    wrote on 8 May 2024, 09:57 last edited by
    #1

    How to start a pyside6 program and only run one program, and then start the first program on the second startup?

    1 Reply Last reply
    0
    • J Online
      J Online
      JonB
      wrote on 8 May 2024, 11:40 last edited by JonB 5 Aug 2024, 11:40
      #2

      For C++ there is QtSingleApplication. You want something similar for Python/PySide. There are old posts at

      • https://forum.qt.io/topic/5616/pyside-qtsingleapplication/2
      • https://stackoverflow.com/questions/12712360/qtsingleapplication-for-pyside-or-pyqt

      They probably still work nowadays, or at least show you the approach.

      1 Reply Last reply
      0

      1/2

      8 May 2024, 09:57

      • Login

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