[Interest] Singleton application
Samuel Gaist
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.
>
>
> Hamish
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
Hi,
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.
Cheers
Samuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180417/48464ee8/attachment.sig>
More information about the Interest
mailing list