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.

...

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.

...

previously is now known under Files to Deploy:

...

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

...