Skip to content

A Qt 6 / QML application that ensures only a **single instance** of the app runs at a time.

Notifications You must be signed in to change notification settings

Saif-k93/SingleInstance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SingleInstance

A Qt 6 / QML application that ensures only a single instance of the app runs at a time.


✨ Features

  • Prevents multiple instances from running simultaneously.
  • Lightweight and cross-platform (Windows, Linux, macOS).
  • Smooth UI with effects and theming support.

🛠 Tech Stack

  • Language: C++
  • UI: Qt Quick / QML
  • Framework: Qt 6
  • Build System: CMake
  • Platform: Windows (primary), Linux, macOS
  • Extras: Single-instance protection via QSharedMemory + QSystemSemaphore.

📦 Requirements

  • Qt 6.x

📸 Screenshots

Screenshot 2025-12-30 201347 Screenshot 2025-12-30 201410

🤝 Contributing

Contributions are welcome. Please open an issue or submit a pull request.


📬 Contact

Created by Saif GitHub: https://github.com/Saif-k93


🔧 Build Instructions

Clone the repository and build using CMake:

git clone https://github.com/Saif-k93/SingleInstance.git
cd SingleInstance
cmake -S . -B build
cmake --build build
For Windows (MSVC):

bash
Copy code
cmake -S . -B build -G "Visual Studio 17 2022"
cmake --build build --config Release

---

▶️ Run
Run the generated executable from the build directory.
The app will prevent opening multiple instances and show a message if another instance is already running.

About

A Qt 6 / QML application that ensures only a **single instance** of the app runs at a time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published