[Interest] Singleton application
samuel.gaist at edeltech.ch
Tue Apr 17 14:26:24 CEST 2018
> On 17 Apr 2018, at 12:33, Hamish Moffatt <hamish at risingsoftware.com> 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.
> Interest mailing list
> Interest at qt-project.org
Just in case, the qtsolution module is available at http://code.qt.io/cgit/qt-solutions/qt-solutions.git/ with build fixes for Qt 5.
The QtSingleApplication module is working with Qt 5. However it doesn’t provide support for QGuiApplication but it’s not hard to add it if needed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Message signed with OpenPGP
More information about the Interest