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 

...

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.

...

...

Image Added

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

...

Select the build system as qmake as we are making a simple qt application.

...

Leave the default widget class creation setup as shown in Qt Creator project main class information.

...

We can select the desired local language and get the corresponding translation file.

...

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.

...

Leave the default widget class creation setup as shown in Qt Creator project main class information.

...

Do not setup any version control system as shown in Qt Creator project version control setup 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.

...