navrocky / urtconnector

Automatically exported from code.google.com/p/urtconnector
0 stars 0 forks source link

Multiple instances #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I can launch many instances of urtconnector. Maybe prevent it by using PID? 
And, if ONE
running instance detected - show main window?

Original issue reported on code.google.com by pozitpoh@gmail.com on 5 May 2010 at 1:47

GoogleCodeExporter commented 9 years ago
I think to implement it through QTcpServer/QTcpSocket. Does anybody have another
platform-independent solution?

Original comment by kinna...@gmail.com on 6 May 2010 at 6:02

GoogleCodeExporter commented 9 years ago
Qt official site provides this:

http://doc.qt.nokia.com/solutions/4/qtsingleapplication/qtsingleapplication.html

Simple to compile, simple to use, platform-independent.
Testing now...

Original comment by kinna...@gmail.com on 7 May 2010 at 6:36

GoogleCodeExporter commented 9 years ago
main_window is not raise when raise() or/and show() method is called... wtfo?

Original comment by kinna...@gmail.com on 7 May 2010 at 8:59

GoogleCodeExporter commented 9 years ago
On windows this feature don't work. Need to fix.

Original comment by navrocky.vlad on 25 May 2010 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by navrocky.vlad on 31 May 2010 at 7:21