GUF-Yocto-jethro-9.0-r7707-0
i.MX6
User Manual
Figure 15: Qt Creator kit selection
After finishing the wizard you should see the opened
main.qml
and the project files.
Figure 16: The first Qt Quick application in Qt Creator
You can now build and deploy the application by clicking the
Run
button (the play button in the left bottom corner)
or using the shortcut
Ctrl-R
. Now the Qt Creator builds your application and automatically deploys it to the device.
On the device, you should see an application showing
Hello World
now.
For further information on how to use Qt Creator and how to program Qt applications see the online Qt documen-
tation:
http://qt-project.org/doc/qtcreator-3.0/index.html
7.5
Autostart mechanism for user applications
In order to make the target system start your application automatically during the boot process you have to create
a start/stop script in the
/etc/init.d
directory. As described in chapter
[
I
, this directory contains a
number of scripts for various services on your system. Each script will be run as a command of the following
form:
root@santaro:~# /etc/init.d/<COMMAND> <OPTION>
Where
COMMAND
is the actual command to run and
OPTION
can be one of the following:
54