Now it is necessary to add the definition of your board before developing and compiling your applications.
In order to add the device information automatically, DAVE provides a simple setup script. User just need to run the following commands inside your terminal emulator.:
If the installation process went okcomplete successfully, you should see inside the <code>Tools</code>-><code>Options</code> -> <code>Kits</code> a ''kit '' named XELK., as in the following screenshot:
Insert the IP address of your device, the ''root'' as username and leave password empty (this is the default configuration of the XELK root accountfile systems). Make sure that the device is connected to the network and your virtual machine networking is correctly configured to use a bridge connection(see [[VirtualBox Network Configuration|this]] article for more details).
Click <code>Add</code> -> <code>GCC</code> and add the compiler path.
<pre>
Now that the setup is finished, you can create your first application
Open a new terminal and source the environment variables with the command.
<pre>
dvdk@vagrant-ubuntu-trusty-64:~$ ./source env.sh
</pre>
In the same terminal digit type the following command if (we assume you didn't change the default installation directory.)
<pre>
</pre>
<span style{{ImportantMessage|text="color:#ff0000"> It is important to repeat the previous two step each time you close the Qt Creator application. </span>}}
Now click on <code>New Project</code>
Select Application Qt Widgets Application and click '''Choose...'''
To add a clickable button to your application, select the <code>Edit</code> window and select <code>Test</code>-><code>Forms</code>-><code>mainwindow.ui</code>
The last step before running the application inside the device is to select configure Qt backend into application command line arguments: open the <code>Project </code> window and select the <code>Run </code> configuration and as , then type <code>-platform eglfs</code> into <code>Arguments.</code>
After these changes you are ready to debug your application inside your board with the <code>Run/Debug</code> command [[File:QtCreator XELK 3 0 0 2035.png|400px|border|center30px]]
After these changes you are ready to debug your application inside your board with the Run/Debug command [[File:QtCreator XELK 3 0 0 35.png|30px]]