Reader small image

You're reading from  Hands-On Embedded Programming with Qt

Product typeBook
Published inJul 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789952063
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
John Werner
John Werner
author image
John Werner

John Werner is an internationally published author, engineer, consultant, and conference speaker with more than 15 years' experience. He has earned patents for inventions ranging from Inkjet printers to automotive ignition systems. John was one of the early users of Qt on QNX and contributed to the early knowledge of how to make it work. He is a contributor to the Qt-related information on Stack Exchange. He is currently a senior software engineer, specializing in Qt development, for Caliber Imaging & Diagnostics.
Read more about John Werner

Right arrow

Running the application on the Target

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:

  1. Open an SSH connection to the Target:
$ ssh root@raspberrypi
  1. Execute the application directly from the command line:
root@raspberrypi:~# /opt/ch03-HelloFromQt/bin/ch03-HelloFromQt
  1. 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.

Making a more flexible display using layouts

When...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Embedded Programming with Qt
Published in: Jul 2019Publisher: PacktISBN-13: 9781789952063

Author (1)

author image
John Werner

John Werner is an internationally published author, engineer, consultant, and conference speaker with more than 15 years' experience. He has earned patents for inventions ranging from Inkjet printers to automotive ignition systems. John was one of the early users of Qt on QNX and contributed to the early knowledge of how to make it work. He is a contributor to the Qt-related information on Stack Exchange. He is currently a senior software engineer, specializing in Qt development, for Caliber Imaging & Diagnostics.
Read more about John Werner