Re: [Interest] Singleton application

2018-04-17 Thread Dan Riegsecker
Have a look at SingleApplication on GitHub. https://github.com/itay-grudev/SingleApplication Thanks, Dan On Tue, Apr 17, 2018 at 1:51 PM, John Weeks wrote: > We derive our application from QtSingleApplication (it derives from > QApplication). We acquired the code some time ago, no doubt URLs h

Re: [Interest] Singleton application

2018-04-17 Thread John Weeks
We derive our application from QtSingleApplication (it derives from QApplication). We acquired the code some time ago, no doubt URLs have changed since then... We are presently using Qt 5.9.5. I had compile errors when I first downloaded it, described in https://bugreports.qt.io/browse/QTSOLBUG-

Re: [Interest] Singleton application

2018-04-17 Thread Samuel Gaist
> On 17 Apr 2018, at 12:33, Hamish Moffatt wrote: > > Is there any support built-in for making an application a singleton (ie you > can't launch multiple instances), or does anyone have a recipe? > > I'd actually like a second launch to signal the first, passing on any > parameters, much like

Re: [Interest] Singleton application

2018-04-17 Thread Giuseppe D'Angelo
Hello, On 17/04/18 12:42, Nikolai Tasev wrote: There was a qt-solutions class for this QSingleApplication but I think it disappeared in Qt5. I don't remember being able to pass anything to the first started process. Doing a google search gave me this derivative https://github.com/itay-grudev/Sin

Re: [Interest] Singleton application

2018-04-17 Thread Nikolai Tasev
Hi Hamish, There was a qt-solutions class for this QSingleApplication but I think it disappeared in Qt5. I don't remember being able to pass anything to the first started process. Doing a google search gave me this derivative https://github.com/itay-grudev/SingleApplication Best Regards Niko

[Interest] Singleton application

2018-04-17 Thread Hamish Moffatt
Is there any support built-in for making an application a singleton (ie you can't launch multiple instances), or does anyone have a recipe? I'd actually like a second launch to signal the first, passing on any parameters, much like the web browsers do. (eg link clicked from an application crea