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. how to make the App run with Single Instance
Forum Updated to NodeBB v4.3 + New Features

how to make the App run with Single Instance

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 207 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.
  • B Offline
    B Offline
    Blackzero
    wrote on 2 Sept 2024, 19:34 last edited by
    #1

    Hi.
    I want my application to not run twice, if the application is already open it will issue a warning that the application is already open when you want to open it again, is that possible in qt5 c++?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 2 Sept 2024, 19:44 last edited by
      #2

      See for example QtSingleApplication.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      B 1 Reply Last reply 2 Sept 2024, 19:58
      0
      • C Christian Ehrlicher
        2 Sept 2024, 19:44

        See for example QtSingleApplication.

        B Offline
        B Offline
        Blackzero
        wrote on 2 Sept 2024, 19:58 last edited by
        #3

        @Christian-Ehrlicher I'll try it, is there any other way that is lighter?

        1 Reply Last reply
        0

        1/3

        2 Sept 2024, 19:34

        • Login

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