Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to develop with Qt under IGEP Technology

240 bytes added, 11:03, 21 September 2018
Download and install Qt demo image to a SD
== Overview ==
<section begin=overview />This guide can be helpful to learnt to develop Qt applications under IGEP Boards. Qt is a cross-platform application framework that is widely used for developing application software with a graphical user interface, and also used for developing non-GUI programs such as command-line tools and consoles for servers. You can get more information [http://qt.nokia.comio/ here].<section end=overview />
== Requirements<br> ==
There are some requisites to follow this guide:
*[http://isee.biz/component/zoo/item/igep-virtual-machine-sdk-yocto IGEP SDK VM]: follow the [http://isee.biz/component/zoo/item/igep-sdk-software-user-manual IGEP&nbsp;SDK&nbsp;SOFTWARE&nbsp;USER&nbsp;MANUAL ] (chapter 2.3 "Setting up and running the VM")or install [[How to install Qt Creator|Qt Creator]]<br> *[http://downloads.isee.biz/denzil/binary/qt4e-demo-image-igep00x0.tar.bz2 IGEP Qt Demo]: follow the [http://isee.biz/component/zoo/item/igep-sdk-software-user-manual IGEP&nbsp;SDK SOFTWARE&nbsp;USER&nbsp;MANUAL ] (chapter 6.1 "Create IGEP firmware bootable micro-sd card") and install&nbsp;qt4e-demo-image-igep00x0.tar.bz2 instead IGEP firmware. *[httphttps://www.isee.biz/products/igep-processor-boards/igepv2-board IGEPv2dm3730 IGEP v2], [httphttps://www.isee.biz/products/igep-expansion-boards/product-igep-berlin IGEP BERLIN] or [httphttps://www.isee.biz/products/igep-expansion-boards/product-igep-paris IGEP PARIS] *MicroSD Card (at least 2Gbytes)<br>
== Download and install Qt demo image to a SD<br> ==Once you have open IGEP SDK VM, launch a terminal and type:
Once you have open IGEP SDK VM, launch a terminal and type:
<pre>cd Desktop/
wget http://downloads.isee.biz/denzil/binary/qt4e-demo-image-igep00x0.tar.bz2 </pre><pre>git clone githttps://git.isee.biz/pub/scmigep-tools/igep-tools.git</pre><pre>cd igep-tools/scriptsscript</pre> Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media, required options are:
*--mmc &lt;/dev/sdX&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unformated MMC Card
*--image &lt;filename&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; specify file used to create the bootable SD card.
*--machine &lt;machine&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; specify the machine. Options are igep0020, igep0030 or igep0032<br>
For example, assuming the SD card device takes "/dev/sdf" and you have and IGEPv2 board (igep0020), type:  <pre>./igep-media-create --mmc /dev/sdf --machine igep0020 --image /home/jdoe/Desktop/qt4e-demo-image-igep00x0.tar.bz2</pre> This should give you a bootable SD-card<br>
== Prepare Qt demo image ==
==== Open an example:<br> ====
Copy your desired example from: (/opt/QtSDK/Examples/4.7 using VM or ~/QtSDK/Examples/4.7 default directory install) to your desktop.<br>
{| bordercellspacing="1" widthcellpadding="2001" cellspacingwidth="1200" cellpaddingborder="1"
|-
| [[Image:Qtcopyanexamplev2.png|496x373px]]
Open this example with Qt Creator, set Desktop target and use for each Qt Version one debug and one release
{| bordercellspacing="1" widthcellpadding="7571" cellspacingwidth="1757" cellpaddingborder="1"
|-
| [[Image:Qtopenanexamplev2.png|250x188px]]