Commit Graph

14 Commits

Author SHA1 Message Date
Itay Grudev
7e494b5d5e
Removed incorreced comment in the basic example
Fixes #131
2021-04-28 12:06:37 +03:00
Shatur95
6c97f3e80d Add Qt6 configuration 2020-10-24 14:20:37 +03:00
Itay Grudev
fb9c0bd2ef Removed extra qDebug statements 2020-09-09 00:48:55 +01:00
Shatur95
650861ba46 Add library alias for CMake 2020-05-24 17:46:31 +03:00
Itay Grudev
076caedc23
Merge pull request #103 from Shatur95/update_cmake_examples_version
Update minimum requered version in examples
2020-05-15 17:01:12 +01:00
Shatur95
10e0750d8e Update minimum requered version 2020-05-15 18:55:48 +03:00
Shatur95
56e4f8d277 Update CMake examples 2020-05-15 18:42:56 +03:00
Itay Grudev
81cc2719be v3.1.0a Added primaryUser()
Closes #95
2020-03-03 01:24:55 +00:00
Hennadii Chernyshchyk
81465e1eec Add CMake support (#66)
* 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
2019-10-11 16:30:11 +03:00
Francis Giraldeau
f975da90cc Fix sendmessage (#46)
* 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>
2018-07-27 02:10:14 +03:00
Itay Grudev
8892a54e12
Bug Fix Calculator example not raising it's window on Windows 2017-02-02 04:35:05 +00:00
Itay Grudev
699a1cb978
Added an example of an application raising the primary instance window
This example uses the Qt Calculator example released under the BSD
license. Noted the license difference in the `README.md` and `LICENSE`
files.
2016-08-10 03:43:15 +01:00
Itay Grudev
596cf23bae
Added an example of an application sending it's arguments to the primary instance 2016-08-10 03:43:06 +01:00
Itay Grudev
6f585973dc
Added a basic usage example 2016-08-10 03:42:46 +01:00