###To laptop
Specify an IP address to eth0 (here 192.168.56.1)
sudo ifconfig eth0 192.168.56.1 netmask 255.255.255.0
| """ | |
| Example with Signal-Slot system from QT | |
| When generate data, sends and load on the Gui's text widget | |
| """ | |
| import sys | |
| from PyQt5.QtCore import QObject, pyqtSignal, QSharedMemory | |
| from PyQt5.QtWidgets import QApplication | |
| from PyQt5.QtWidgets import QMainWindow | 
| cmake_minimum_required(VERSION 3.5) | |
| project(DBusTest) | |
| find_package(Qt5 CONFIG REQUIRED Core DBus) | |
| set(prog_SRCS my.test.Calculator.xml) | |
| qt5_generate_dbus_interface(Calc.hh | |
| my.test.Calculator.xml | |
| OPTIONS -A | |
| ) |