As of January 2017, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it.
- Install the required build-tools (some might already be installed on your system).
| 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 | |
| ) |