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. Single instance application
Forum Updated to NodeBB v4.3 + New Features

Single instance application

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 473 Views 1 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.
  • F Offline
    F Offline
    franco.amato
    wrote on 23 Mar 2024, 18:08 last edited by
    #1

    Good morning,
    I'd like to know what's the best approach of having only one instance running of my Qt5 based application.
    Thank you

    J 1 Reply Last reply 23 Mar 2024, 18:32
    0
    • F franco.amato
      23 Mar 2024, 18:08

      Good morning,
      I'd like to know what's the best approach of having only one instance running of my Qt5 based application.
      Thank you

      J Offline
      J Offline
      JonB
      wrote on 23 Mar 2024, 18:32 last edited by JonB
      #2

      @franco-amato

      • There is an old one but I believe kept up-to-date, QtSingleApplication at https://code.qt.io/cgit/qt-solutions/qt-solutions.git/.
      • There are various alternatives in https://stackoverflow.com/questions/5006547/qt-best-practice-for-a-single-instance-app-protection/.
      • See https://github.com/itay-grudev/SingleApplication for code which claims to be superior to QtSingleApplication .
      1 Reply Last reply
      3

      1/2

      23 Mar 2024, 18:08

      • 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