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 268 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 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
    • JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #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

      • Login

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