If you've made it this far, your Qt for IoT Development environment and hardware should all be ready to go. Let's run a quick test to make sure this is the case. I've written a short test program to verify the basic setup of the Raspberry Pi itself. It can be found in the Git repository for this book. Download the single executable, C01_01-ItWorks, to ~/raspi. Transfer it to the device and then execute it. Then, follow these steps:
- On the host PC, enter the following command:
[On Host] $ scp ~/raspi/C01_01-ItWorks root@raspberrypi:/home/root
- Then, ssh into the Raspberry Pi and start it:
[On Target] $ /root/C01_01-ItWorks
- You should now see a picture with the words It Works! on the display. If not, verify your installation steps:
You can hit Ctrl+C in the ssh connection to terminate the program...