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 run an app once
Qt 6.11 is out! See what's new in the release blog

how to run an app once

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 598 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.
  • A Offline
    A Offline
    ARASHz4
    wrote on last edited by
    #1

    hi
    i want run my app only once in a time
    for example if run app when app before running don't run again & if app is minimize restore the window

    RatzzR 1 Reply Last reply
    0
    • A ARASHz4

      hi
      i want run my app only once in a time
      for example if run app when app before running don't run again & if app is minimize restore the window

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by Ratzz
      #2

      @ARASHz4
      You should make use of QtSingleApplication .

      Usefull links:
      http://forum.qt.io/topic/22460/solved-qtsingleapplication-and-qt-5/5
      http://stackoverflow.com/questions/17937618/how-to-use-qtsingleapplication
      https://github.com/itay-grudev/SingleApplication
      http://stackoverflow.com/questions/32306561/how-to-restart-qtsingleapplication

      --Alles ist gut.

      1 Reply Last reply
      1

      • Login

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