[Interest] Singleton application
Dan Riegsecker
1baldgeek at gmail.com
Tue Apr 17 20:00:09 CEST 2018
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 <john at wavemetrics.com> wrote:
> 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-171. I see this in my bug report:
>
> I cloned it from http://qt.gitorious.org/qt-solutions August 6, 2013.
>
> Five years later it's still working for us.
>
> -John Weeks
>
> > On Apr 17, 2018, at 5:26 AM, Samuel Gaist <samuel.gaist at edeltech.ch>
> wrote:
> >
> >
> >> 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
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180417/34b024ce/attachment.html>
More information about the Interest
mailing list