Changes

Jump to: navigation, search

DESK-MX-L-AN-0007: Getting Started With QT Creator

654 bytes added, 09:42, 22 February 2018
no edit summary
dvdk@vagrant-ubuntu-trusty-64:~/axel$ ./qt-creator-opensource.run
</pre>
An installation wizard will appear. Clik '''Next''' to proced with the installation.
[[File:QtCreator XELK 3 0 0 01.png|200px|border|center]]
Clik Next to proced with the installationSelect '''Skip'''.
[[File:QtCreator XELK 3 0 0 02.png|200px|border|center]]
Select Skip'''Next'''.
[[File:QtCreator XELK 3 0 0 03.png|200px|border|center]]
 Select the install directory or click '''Next'''.
[[File:QtCreator XELK 3 0 0 04.png|200px|border|center]]
Select the install directory or click '''Next'''.
[[File:QtCreator XELK 3 0 0 05.png|200px|border|center]]
Select Click '''Next''' again.
[[File:QtCreator XELK 3 0 0 06.png|200px|border|center]]
Click Next againAnd then click '''Install''' and complete the installation.
[[File:QtCreator XELK 3 0 0 07.png|200px|border|center]]
== Automatic configuration ==
Now it is necessary to add the definition of your board before proceding developing and compiling your first applicationapplications.
For adding In order to add the board definition device information automatically, runthe following commands inside your terminal emulator.
<pre>
</pre>
If the installation process went ok , you should see inside the <code><nowiki>Tools</nowiki></code>-><code><nowiki>Options menu </nowiki></code> -> <code><nowiki>Kits </nowiki></code> a kit named XELK.
[[File:QtCreator XELK 3 0 0 09.png|400px|border|center]]
== Manual configuration ==
=== Devices ===Go to <nowiki>Tools</nowiki>-><nowiki>Options </nowiki> menu and select <nowiki>Devices</nowiki>
[[File:QtCreator XELK 3 0 0 09.png|400px|border|center]]
[[File:QtCreator XELK 3 0 0 26.png|400px|border|center]]
 
=== GCC & Cross Compilation ===
Next you need to configure the cross compilation tool inside Build & Run -> Compiler.
[[File:QtCreator XELK 3 0 0 28.png|400px|border|center]]
 
=== Debugger GDB ===
Now it is necessary to add a debuger. In order to do this go to the Debuggers tab and click add
[[File:QtCreator XELK 3 0 0 31.png|400px|border|center]]
 
=== Qt Version ===
Next you need to add the Qt Version installed on your devices. Go to Qt Version click Add and select the following qmake file.
[[File:QtCreator XELK 3 0 0 32.png|400px|border|center]]
 
=== Kits ===
The last step is to add a new kit. Go to Kits and click Add and complete the information as showed below
[[File:QtCreator XELK 3 0 0 33.png|400px|border|center]]
Pay attention that in Qt mkspec you should write
 
<pre>
linux-oe-g++
</pre>
 
[[File:QtCreator XELK 3 0 0 34.png|400px|border|center]]
 
After this your setup is complete and you can procede and create your Qt applications.
== Qt application example ==
dvdk@vagrant-ubuntu-trusty-64:~$ ./qtcreator-4.3.0/bin/qtcreator
</pre>
 
 
Close the tab and create a new project.
170
edits

Navigation menu