Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23

Thread: QT app Run once

  1. #21
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: QT app Run once

    Alright, I did the implementation for Windows if anyone is interested.

  2. #22
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT app Run once

    Hi,
    Can we use this with network shared files?How? We have files on network and if somebody open file for write,others mustn't open it.How can understant file was opened?
    i want to use this approach with microsoft network and samba shares.Is this lock file approach enough for me???
    Thanks in advance
    Ramazan

  3. #23
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT app Run once

    Quote Originally Posted by marcel View Post
    I only wanted to point the solution used by the QtSingleApplication.
    I am sure they opted for the most efficient solution when they implemented that class.

    There are many methods, I can't argue with that. But some of them are almost "theoretical". There's no winning in implementing them.
    On Unix they use: "On X11 systems the implementation uses X atoms to communicate through the selection mechanism.".
    We didn't.

    I'm using Qt 4.3.3 and the "QtSingleApplication" class is not listed in the Assistant.

    What version was/is it in?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.