Changes

Jump to: navigation, search

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

150 bytes added, 10:36, 22 February 2018
no edit summary
<pre>
dvdk@vagrant-ubuntu-trusty-64:~$ cd axel/
</pre>
<pre>
dvdk@vagrant-ubuntu-trusty-64:~/axel$ ./qt-creator-opensource.run
</pre>
<pre>
dvdk@vagrant-ubuntu-trusty-64:~$ cd axel/
</pre>
<pre>
dvdk@vagrant-ubuntu-trusty-64:~/axel$ ./qt-post-install.sh
</pre>
</pre>
Click <span style="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>
[[File:QtCreator XELK 3 0 0 11.png|400px|border|center]]
[[File:QtCreator XELK 3 0 0 12.png|400px|border|center]]
Now call the name Project Test and pres Next.
[[File:QtCreator XELK 3 0 0 13.png|400px|border|center]]
Select the XELK Kit and click '''Next'''.
[[File:QtCreator XELK 3 0 0 14.png|400px|border|center]]
Choose the ''class '' name for your application.
[[File:QtCreator XELK 3 0 0 15.png|400px|border|center]]
[[File:QtCreator XELK 3 0 0 16.png|400px|border|center]]
Now you will To add a clickable button to your application. In order to do this, select the <code>Edit</code> window and select <code>Test</code>-><code>Forms</code>-><code>mainwindow.ui</code>
[[File:QtCreator XELK 3 0 0 17.png|400px|border|center]]
To add a Push Button click Click on Push Button in the Buttons tab and drag it to the main widown view. In order to edit the text displayed by the label, dubble click it and write ''"Hello World!"''.
[[File:QtCreator XELK 3 0 0 18.png|400px|border|center]]
<pre>
target.path = /tmp/Test # path on device
</pre>
<pre>
INSTALLS += target
</pre>
170
edits

Navigation menu