{{WarningMessage|text=This application note was validated against specific versions of the kit only. It may not work with other versions. Supported versions are listed in the ''History'' section.}}
=History=
!Version
!Date
!XELK DIVELK version
!Notes
|-
|1{{oldid|8080|4.0.0}}|March April 2018|[[Axel_Embedded_Linux_Kit_Diva_Embedded_Linux_Kit_(XELKDIVELK)#XELK_software_componentsDIVELK_software_components|DIVELK 4.0.0]]||-|4.0.1|3March 2019|[[Diva_Embedded_Linux_Kit_(DIVELK)#DIVELK_software_components#DIVELK_4.0.1|DIVELK 4.0.1]]|First release
|}
= Introduction =
This application note details QT Creator setup and configuration in [[Axel_Embedded_Linux_Kit_Diva_Embedded_Linux_Kit_(XELKDIVELK)|XELKDIVELK]] [[Managed Virtual Machine (MVM)|MVM]]
= Setting up Qt Creator to build for XELK DIVELK =
An installation wizard will appear. Clik Click '''Next''' to proced proceed with the installation. [[File:QtCreator XELK 3 0 DIVELK 4.0 .1 - Qt Creator 01.pngjpg|400pxcenter|borderframeless|center438x438px]]
In order to add the device information automatically, DAVE provides a simple setup script.
TBD
<!--
== Manual configuration ==
If you don't want to use the automatic setup or want to customize the configuration, in this section we details detail all the step required.
=== Linaro Toolchain ===
You should be able to find the linaro toolchain already inside the virtual machine at ~/diva, if not the following will download and extract the toolchain.
Download the following [https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabihf/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz archive]
Now that the setup is finished, you can create your first application.
In order to have debug your application with QtCreator, it is mandatory to utilize the maximum performance while developing for linaro toolchain [[DIVELK-AN-002:_Using_Qt_Creator#Linaro_Toolchain|Toolchain]]. Furthermore, if the DIVELK platoformWeston compositor is active, the debug process is slow. For this reason it is better higly recomanded to stop the Westo compositor disable it with
root@diva:~# /etc/init.d/weston stop
Now open a new terminal and source the environment variables with the command.