[Interest] Singleton application

Nikolai Tasev nikolai at nand.bg
Tue Apr 17 12:42:32 CEST 2018


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
Nikolai Tasev


On 4/17/2018 1:33 PM, 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 the web browsers do. (eg link clicked from an 
> application creates new tab in existing browser instance.).
>
> I need this to work on Windows and Mac.
>
>
> Hamish
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>




More information about the Interest mailing list