Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX6UL-AN-0002: Getting started with Qt Creator

1,213 bytes removed, 15:36, 6 October 2021
History
!Development Kit version
|-
| 1.0.10
| Jun 2021
|[[AXEL_ULite_SOM/DESK-MX6UL-L/General/Release_Notes#DESK-MX6UL-L_1.0.1|DESK-MX6UL-L 1.0.1]]
|-
|}
==Introduction==
This application note details QT Creator setup and configuration in [[AXEL_ULite_SOM/DESK-MX6UL-L|DESK]] [[AXEL_ULite_SOM/DESK-MX6UL-L/General/DVDK_Virtual_Machine|MVM]] {{InfoBoxTop}}{{AppliesToAXEL ULite AN}}{{InfoBoxBottom}} {{ImportantMessage|text=This application note has been validated using the '''kit version''' in the History table.}}==History== {| class="wikitable" border="1"!Version!Date!Development Kit version|-| 1.0.1| Jun 2021|[[AXEL_ULite_SOM/DESK-MX6UL-L/General/Release_Notes#DESK-MX6UL-L_1.0.1|DESK-MX6UL-L 1.0.1]]|-|} ==Introduction== This application note details QT Creator setup and configuration in [[AXEL_ULite_SOM/DESK-MX6UL-L|DESK]] [[AXEL_ULite_SOM/DESK-MX6UL-L/General/DVDK_Virtual_Machine|MVM]]
== Setting up Qt Creator to build for DESK ==
dvdk@vagrant:~/desk-mx-l$ wget https://download.qt.io/new_archive/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run
</pre>
 
=== Qt Creator Installation ===
To install Qt Creator inside your toolchain launch a terminal emulator and run
[[File:QtCreator XELK 3 0 0 21.png|400px|border|center]]
 
== Qt application example ==
 
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:~/desk-mx-l$ source desk-mx6ul-l-1.0.1_env.sh
</pre>
 
In the same terminal type the following command (we assume you didn't change the default installation directory)
 
<pre>
dvdk@vagrant:~/desk-mx-l$ /home/dvdk/Qt5.12.7/Tools/QtCreator/bin/qtcreator
</pre>
 
{{ImportantMessage|text=It is important to repeat the previous two step every time you start QTCreator}}
8,226
edits