I believe you will have to subclass QNetworkAccessManager to implement your own protocol and then see the doc for QNetworkAccessManager::supportedSchemesImplementation().
I believe you will have to subclass QNetworkAccessManager to implement your own protocol and then see the doc for QNetworkAccessManager::supportedSchemesImplementation().
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
You are looking for something like a single instance application.
E.g. http://stackoverflow.com/questions/5...app-protection
Cheers,
_
I've got single instance app protection using QSharedMemory
I've attached example app
http://www79.zippyshare.com/v/gW9uCi3f/file.html
Please open it, and click button "Enable integration with web browsers", then close app and enter myapp:[hello] into web browser address bar.
App will start and you will see received message, but how can I get message when app is already running ?
Cheers
Last edited by #Dragon; 15th January 2016 at 11:06.
That's what single instance mechanisms usually do.
They detect that there is an already running instance and then pass the argument to the running instance.
Since you implement your own single instance mechanism, it is also up to you to implement instance communication.
Cheers,
_
#Dragon (15th January 2016)
Bookmarks