Setting up QT5

Before we write any programs inside QT5, we first need to set it up so that it can run C++ programs. To open QT5, click on the raspberry icon, go to Programming, then select the Qt Creator:

QT5 runs a bit slower in RPi, so it will take some time for the IDE to open. Click on Tools and then select Options...:

Inside Options..., click on Devices and make sure the Type is set to Desktop. The name should be Local PC, which refers to the RPi:

After that, click on the Build & Run option. Next, select the Kits tab and click on the ...

Get Hands-On Robotics Programming with C++ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.