Skip to content

vicr123/QNearbyShare

Repository files navigation

QNearbyShare

QNearbyShare is a Nearby Share client.

Currently, QNearbyShare has been tested with the following Nearby Share implementations:

Implementation Send to Receive from
Android No* Yes
Nearby Share Beta (Windows) No Yes
QNearbyShare Yes Yes
NearDrop Yes Yes

*Devices with "Quick Share" are no longer compatible with QNearbyShare, as there is no known way to initiate receive mode from the device.


Dependencies

  • Qt 6
  • Avahi
  • Protobuf
  • Either OpenSSL or Crypto++ (Crypto++ is preferred)
  • CMake (build)

Build

Run the following commands in your terminal.

cmake -B build -S .
cmake --build build

To build with OpenSSL instead of Crypto++

cmake -B build -S . -DUSE_OPENSSL
cmake --build build

Install

cmake --install build

Usage

The Avahi daemon needs to be running before issuing any commands related to QNearbyShare.

Sending a file

qnearbyshare-send /path/to/file

Receiving a file

qnearbyshare-receive

© Victor Tran, 2023. This project is licensed under the MIT License.

Check the LICENSE file for more information.