Registry / utility / kdsingleapplication

kdsingleapplication

JSON →
library1.2.0vcpkgunverified

KDSingleApplication is a helper class for single-instance policy applications.

vcpkg install kdsingleapplication
INSTALL
IMPORT
SIG · KDSINGLEAPPLICATIO
K
kdsingleapplication
utilitycppv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

KDSingleApplication/kdsingleapplication.h
#include <KDSingleApplication/kdsingleapplication.h>

Ensure only one instance of a Qt application runs

#include <KDSingleApplication/kdsingleapplication.h> #include <QCoreApplication> int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); KDSingleApplication singleInstance; if (!singleInstance.isPrimaryInstance()) { return 0; } // ... application logic ... return app.exec(); }
Debug
Known issues
gotchaRequires Qt5 or Qt6 and may conflict with other single-instance mechanisms.
fix
Use only one single-instance library per application.
affects: all
Upgrade
Version history
1.2.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

kdsingleapplication — pip install kdsingleapplication · libregistry