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

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -