Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Based on the Qt Creator setup discussed in [I 7.5 Using the Qt Creator IDE], this chapter demonstrates a 

...

Make sure that all Qt Creator setup steps are already done up to [I 7.5.1 Developing with Qt Creator]

Note: For all the following steps the SDK environment has to be sourced.

Code Block
$ source /opt/gufseconorth-wayland/GUF-Yocto-rocko-12.5-0-IMX6GUF-sdkkirkstone-7.0/environment-setup-cortexa9t2hf-imx6gufneon-gufseconorth-linux-gnueabi
$ make

...

Create a new project through File->New file or project... as shown in Qt creator new project creation image.

...

Select Qt Widgets Application as shown in Qt Creator Qt Widget Application project type selection image.

...

Name the project myqtapp as shown in Qt Creator project naming image.

...

Select the cross development kit that was created and configured in [I 7.5.1 Developing with Qt Creator] as shown in Qt Creator kit selection image.

...

Add the following lines to myqtapp.pro to set up the installation path of the myqtapp application:

Code Block
...
linux-* {
target.path = /tmp INSTALLS += target
}
...

as shown in Qt Creator target installation path setup image. We select /tmp here.

...

Select Projects->Build & Run->Run>Add Deploy Step 

and select Run custom remote command as shown in Qt Creator custom remote command insertion image.

...

Code Block
systemctl stop seco-show-demo

as shown in [I Figure 35] to make sure that the automatically Seco as shown in above image to make sure that the automatically Seco NE demo is stopped if it’s running.From [I Figure 35] we can further see, that the remote installation directory we set up previously is now known under 

From the above image we can further see, that the remote installation directory we set up 

previously is now known under Files to Deploy:.

...

Now, set up a breakpoints shown in Qt Creator breakpoint break-point setup image by right clicking the desired line through the context menu.

...