![Phytec phyBoard Wega AM335x Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/phytec/phyboard-wega-am335x/phyboard-wega-am335x_application-manual_1554191052.webp)
phyBOARD-Wega AM335x [PB-00802-xxx]
36
©
PHYTEC Messtechnik GmbH 2014 L-792e_1
2.2
Working with Qt Creator
In this section we learn how to work with
Qt Creator
. The
Qt
framework provides tools to
develop graphical user interfaces. With the help of an example project we show how to
compile your own
Qt
based programs and automatically transfer them to the target.
2.2.1
Stop the Running Qt Demo on the Target
A
Qt
demo application starts automatically by default after the target has booted
completely (
section 3.2.14
). Before we start compiling and running our example project
out of
Qt Creator
we must first close this
Qt
application.
Open a serial connection with
Microcom.
After the target is booted login with root and enter the following command to stop the
Qt
application:
systemctl
stop
qt5demo
After the
Qt
demo is stopped with the command above we can start to use
Qt Creator
.
If you want to remove the
qt5demo
from the autostart enter the following
command:
systemctl
disable
qt5demo
2.2.2
Importing the Demo Application
We start with opening the
Qt Creator
in a terminal, because otherwise the correct
environment of the toolchain is not set.
Open a terminal.
Enter the following command in the terminal to start
Qt Creator
/usr/bin/qtcreator.sh
&