Navigation Menu

Skip to content


Repository files navigation

Astarte Qt5 Device SDK

Astarte Qt5 Device SDK is the reference SDK for Astarte connected devices. This SDK should be used to connect any device running a C++ Qt5 application to Astarte, hence a more specific SDK should be used for applications written with other languages or toolkits. This SDK is always updated to the latest Astarte protocol (which is mostly MQTT with some additions on top of it).

Virtually an SDK is not required to connect an application to Astarte using MQTT, but it enables rapid development and a pleasant developer experience.


To build this library a C++11 capable compiler is required, and the following dependencies are required:

  • CMake
  • Qt5 (QtCore, QtNetwork, QtSql)
  • libmosquittopp (Mosquitto MQTT C++ client library)
  • OpenSSL

The following additional runtime dependencies are also required:

  • SQLite

Getting started

$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
# make install