
SingleApplication
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
The SingleApplication component provides support for applications that can be
only started once per user.
For some applications it is useful or even critical that they are started only once by any user.
Future attempts to start the application should activate any already running instance,
and possibly perform requested actions, e.g. loading a file, in that instance.
The SingleApplication class provides an crossplatform interface to detect a running instance,
and to send command strings to that instance.
The SingleApplication component is basically imitating QtSingleApplication commercial class.
Unlike QtSingleApplication the SingleApplication implementation uses Shared Memory
to detect a running instance and so-called "Local Sockets" to communicate with it.
SingleApplication might be usable in all environments where you find Qt4.
SingleApplication requires Qt 4.4.x or newer.
12 years ago
version 1.0: 2008-11-30
Initial stable version 1.0.
Note: version 1.0 is binary incompatible with any previous version.
12 years ago
version 1.0: 2008-11-30
Initial stable version 1.0.
Note: version 1.0 is binary incompatible with any previous version.
s-valve
11 years ago
Report
xep
11 years ago
anyway, SA isn't supported any longer since QtSingleApplication was re-licensed under lgpl.
probably i can release "last" version with several minor fixes some later...i'm not sure...
Report
s-valve
11 years ago
thanks for your reply. I use now QtSingleApplication. It is also not completely Mac OS X compilant but it's ok for me. sry.
brgds, m
Report
agnitsarkar
11 years ago
Report
thzs
12 years ago
nice work!
Unfortunately it does not compile on Mac OS X since it has no semtimedop() function.
Report
xep
12 years ago
/* f&ucking mac */
Discrepancy to posix standards makes me crazy.
I plan to bypass that problem some later.
thnx for comment
Report
xep
12 years ago
regards
Report
s-valve
11 years ago
I'm using Mac OS 10.5.7 and Qt4.5.1.
It seems that no message is sent.
brgds
Report
dschulz
12 years ago
SUPER! :)
Report
netcelli
12 years ago
Report