[Qt-interest] A couple of Issues in Qt Application

Raja Rokkam rokkamraja at gmail.com
Thu Oct 29 20:02:50 CET 2009


Hi Rempt,

            Thanks for the quick reply and yes, I have seen the
QtSingleApplication as well. I was looking for something more simpler with
just a few lines of code.

Can you please help with the installation of these files ? A brief
instruction set would be useful.

Thanks,
Raja.

On Fri, Oct 30, 2009 at 12:24 AM, Boudewijn Rempt <boud at valdyas.org> wrote:

> On Thursday 29 October 2009, Raja Rokkam wrote:
> > Hi All,
> >
> > 1.)  I am trying to implement QSharedMemory to prevent running multiple
> > instance of my application. The code works fine in WIndows but in Unix it
> > works fine as long as there is no crash. If there is a crash the
> > QSharedMemory survives the crash and so later no instance is spawned
> until
> > PC is rebooted.*
> > Is there any solution for this issue or any other simpler and cleaner
> > solution ?*
>
> Use
> http://qt.nokia.com/products/appdev/add-on-products/catalog/3/Utilities/qtsingleapplication
>
> It's also used in Qt Creator and I use it in my own app, and it works well
> enough.
>
> --
> Boudewijn Rempt | http://www.valdyas.org
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091030/4f570994/attachment.html 


More information about the Qt-interest-old mailing list