

Select the Raspberry Pi Kit and an according build directory, e.g. the example module from (link to example module). Open the module you want to deploy as a project in QtCreator, e.g. You can ssh into the Raspberry Pi and (with a running dv-runtime) use dv-control to include the path: OLDPATH= $( dv- control - s get / system / modules / modulesSearchPath | cut - c 6-)ĭv-control -s put /system/modules/ modulesSearchPath "$OLDPATH|/home/pi/modules"

An example file could look like this:ĭo not forget to also add this path to the dv-runtime config on the Raspberry Pi. You can tell it to copy other files too, but in this case we just need the the module library. The overall result should look similar to this:įollowing this tutorial, we add a file named "QtCreatorDeployment.txt" to the module directory we want to deploy in order to tell QtCreator where to copy the created module library onto the device, e.g.
QT CREATOR FOR RASPBERRY PI INSTALL
Install the C and C++ cross compilers: sudo apt- get install gcc- 8- arm-linux-gnueabihf g++- 8- arm-linux-gnueabihfĪpart from the C and C++ compilers the /usr and /lib directories from the Raspberry Pi are required, as well as a cmake toolchain file. On your computer, open the file /etc/ssh/ssh_config and comment out the line SendEnv LANG LC_*.Ĭreate a module you want to deploy to the Raspberry Pi, e.g. Install dv-runtime-dev on the Raspberry Pi. We will be using QtCreator 4.9 on Ubuntu 19.04 and a Raspberry Pi 3 running Raspbian Buster.

Developing Dynamic Vision modules for embedded systems and remote deployment has never been so much fun.įollow these steps to easily set-up the toolchain for cross-compilation and deployment with your favorite IDE QtCreator.
