In Chapter 2, Writing Your First Qt Application, you learned how to use the Run icon () to compile and run the program, but this time, we will use a slightly different way:
- Open an SSH connection to the Target:
$ ssh root@raspberrypi
- Execute the application directly from the command line:
root@raspberrypi:~# /opt/ch03-HelloFromQt/bin/ch03-HelloFromQt
- Using the mouse and keyboard connected to the Target, type in your name and click Enter Name:
Once again, we find that the application doesn't display correctly. Apparently, the Target and the host use different sizes for the main window and fonts. That's okay; we can fix it.