Make a SingleApplication in Qt -
i have server programm works fine, listening incoming clients. hence, prevent duplicate lauch, want 1 server make service connected entities, if it's possible?
you can lock specific file using lockforwriting
method of qreadwritelock , keep locked long application running , if can't lock it, exit application. since 1 instance able lock file writing, other instances terminate themselves.
Comments
Post a Comment