This application note details QT Creator setup and configuration in [[Axel_Embedded_Linux_Kit_(XELK)DESK-MX6-L|XELKDESK-MX6-L]] [[Managed Virtual Machine (MVM)|MVM]]
= Setting up Qt Creator to build for XELK =
{{ImportantMessage|text=Note: The version of Qt Creator may differ from images below. The version provided from XELK used is the release is 4.4.01 which can be downloaded form [https://download.qt.io/archive/qtcreator/4.0 release is 4/4.54.21/ Qt archive server]}}
== Qt Creator Installation ==
<pre>
dvdk@vagrant-ubuntu-trusty-64:~$ cd axeldesk-mx-l/
[[File:QtCreator XELK 3 0 0 08.png|400px|border|center]]<!--== Automatic configuration ==Now it is necessary to add the definition of your board before developing and compiling your applications4. In order to add the device information automatically, DAVE provides a simple setup script4. <!-- User just need to run the following commands inside your terminal emulator:<pre>dvdk@vagrant-ubuntu-trusty-64:~$ cd axel/dvdk@vagrant-ubuntu-trusty-64:~/axel$ ./qt-post-install.sh</pre>If the installation process complete successfully, you should see inside the <code>Tools -> Options -> Kits</code> a ''kit'' named XELK, as in the following screenshot:[[File:QtCreator XELK 3 0 0 09.png|400px|border|center]]Select the Kits tab and make sure that your configurations matches the one displayed below:[[File:QtCreator XELK 3 0 0 101_finish.png|400px|border|center]] -->
Insert the IP address of your device, ''root'' as username and leave password empty (this is the default configuration of XELK root file systems). Make sure that the device is connected to the network and your virtual machine networking is correctly configured (see [[VirtualBox Network Configuration|this]] article for more details).
Then click '''Next''': [[File:QtCreator-4.4.1_devices-linux-device-EVK.png|600px|border|center]] The device will be created and the connectivity will be tested:
Now it is necessary to add a debugger. In order to do this go to the <code>Debuggers</code> tab and click '''Add''' [[File:QtCreator XELK 3 0 0 30.png|400px|border|center]]And and then select the GDB debugger at the location
The last step is to add a new kit. Go to <code>Kits</code> and click '''Add''' and complete the information as shown below. [[File:QtCreator XELK 3 0 0 33.png|400px|border|center]] Pay attention that in <code>Qt mkspec</code> you need to write