As an introduction to creating your Qt based end product application, let’s walk from start to
finish through the creation of the ubiquitous “Hello World!” application using
Qt Creator.
Important
This section assumes that you have completed the section on
connecting the G3 module to your developer host
machine and have verified all connections are working.
Tip
This project demonstrates the expected application paths on the G3 module.
Pay attention wherever you see /data/bin (and don’t use something else).
this section needs code blocks and more screenshots
In the VM, open a Terminal to the G3 module using picocom:
Open a terminal window.
Enter the command ls-l/dev/ttyU*.
Assuming you setup the USB Device Filters correctly
when you installed the VM, you should see /dev/ttyUSB0 and
/dev/ttyUSB1 in the output. These are the “COM” ports used
to communicate with the G3 module.
Enter picocom-b115200/dev/ttyUSB0.
After picocom displays “Terminal ready”, press <ENTER>.
If you now see a login prompt, you’re on the correct port for the Debug
Interface.1
If not:
Open a 2nd terminal window.
Enter picocom-b115200/dev/ttyUSB1.
After picocom displays “Terminal ready”, press <ENTER>.
If you now see a login prompt, you’re on the correct port for the Debug
Interface.
Log in as root. There is no password.
Stop the currently running user application or demo… if one is running: