Desktop implemetation of venice en C++ and QT
- QMake version 3.1 or higher or CMake 3.29 or higuer
- Qt version 5.12.8 or 5.15.13
- Make version 4.2.1 or higher
- Protobuf 3.21.12 or higuer
- For installing QT, QMake, CMake with related Bluetooth dependencies :
sudo apt install qtbase5-dev qt5-qmake qtconnectivity5-dev cmake build-essential
- Installer protobuf compiler
sudo apt install -y protobuf-compiler
- If an official version of protobuf compiler 3.21.12 or higuer is not available on your distribution, you can installe it by hand:
wget https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.21.12.tar.gz
tar -xvf v3.21.12.tar.gz
cd protobuf-3.21.12/
./autogen.sh
./configure
make -j$(nproc)
sudo make install
sudo ldconfig
sudo ln -s /usr/local/bin/protoc /usr/bin/protoc
After clonning the repository, execute the following commands
git submodule update --init --recursive
- Exeute the following commands:
cd qmake
chmod u+x build.sh
./build.sh
- Exeute the following commands:
cd cmake
chmod u+x build.sh
./build.sh
- Execute the following commands:
cd build
chmod u+x build.sh
sudo -E ./venice-qt
sudo
privileges are required in order to access the Bluetooth adapter
- Service advertising is based on this library.
qtconnectivity5-dev
is required.- The current version only allows the advertising of the Venice File Service Exchange.
- You need to use a USB dongle Bluetooth. Currently, the internal Bluetooth adapter is not detected.
- To execute a local test by using Android Studio:
Flutter 3.13.9
is required.Flutter 3.16
and3.19
produces an error :file too long error
if the hard disk is encrypted.- For installing
SDK Android
packages viaAndroid Studio
:tools->Android SDK Manager
and to look on the tabs the available packages - To avoid
Error: A value of type 'List<int>' can't be assigned to a variable of type 'Uint8List
- To take a look here
- Files to modify with the line
Uint8List.fromList(data.toString().codeUnits);
:- Dart Packages:
- ble_bootstrap_channel-XXXX
- ble_bootstrap_channel
- views/copypaste/sender_view.dart
- Dart Packages:
- Files to modify with the line
- To take a look here