###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
| # npm using https for git | |
| git config --global url."https://github.com/".insteadOf [email protected]: | |
| git config --global url."https://".insteadOf git:// | |
| # npm using git for https | |
| git config --global url."[email protected]:".insteadOf https://github.com/ | |
| git config --global url."git://".insteadOf https:// | 
| 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 | |
| ) | 
| """ | |
| 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 |