This is a pure extension and fully backwards compatible.
* Adds support for running it as a pre-compiled library while still being able to
choose my `QXxxApplication` class at build time.
* Be able to decide at runtime whether to use the single
instance stuff (without starting a server and so on).
* Add CMake support
* Remove unused 'tr()'
* Add option to specify a class for inheritance
* Use modern syntax
* Rework CMakeLists.txt
Thanks to @akallabeth
* Add CMake build rules for examples
* Fix send message example
If a secondary instance sends a message immediately after connecting, the
message follows the init message. This causes the slotConnectionEstablished to
read and consume the tail of the message and interpret it as the checksum. The
checksum fails and the connection becomes invalid.
To avoid this race, we prefix the init message with its length. This way, we
consume only the data relevant to the init message.
This patch fixes the sending_arguments example.
Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
* Fix include file case
Signed-off-by: Francis Giraldeau <francis.giraldeau@nrc-cnrc.gc.ca>