Changes

Jump to: navigation, search

Orange Pi Zero 2W

495 bytes added, 15:36, 26 September 2023
QT installation method
<ol style="list-style-type: decimal;">
<li><p>Use the following script to install QT5 and QT Creator</p>
{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''install_qt.sh'''</p>|}</li>
<li><p>After installation, the QT version number will be automatically printed.</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The qt version that comes with Ubuntu20.04 is '''5.12.8'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''install_qt.sh'''</p>
<p>......</p>
<p>QMake version 3.1</p>
<p>Using Qt version '''5.12.8''' in /usr/lib/aarch64-linux-gnu</p>|}</li>
<li><p>The QT version that comes with Ubuntu22.04 is '''5.15.3'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''install_qt.sh'''</p>
<p>......</p>
<p>QMake version 3.1</p>
<p>Using Qt version '''5.15.3''' in /usr/lib/aarch64-linux-gnu</p>|}</li>
<li><p>The QT version that comes with Debian11 is '''5.15.2'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''install_qt.sh'''</p>
<p>......</p>
<p>QMake version 3.1</p>
<p>Using Qt version '''5.15.2''' in /usr/lib/aarch64-linux-gnu</p>|}</li>
<li><p>The QT version that comes with Debian12 is '''5.15.8'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''install_qt.sh'''</p>
<p>......</p>
<p>QMake version 3.1</p>
<p>Using Qt version '''5.15.8''' in /usr/lib/aarch64-linux-gnu</p>|}</li></ol>
</li>
<li><p>Then you can see the QT Creator startup icon in '''Applications'''</p>
<p>[[File:zero2w-img230.png]]</p>
<p>You can also use the following command to open QT Creator</p>
{| class="wikitable" style="width:800px;" |-| <p>orangepi@orangepi:~$ '''qtcreator'''</p>|}</li>
<li><p>The interface after QT Creator is opened is as follows</p>
<p>[[File:zero2w-img231.png]]</p></li>
<li><p>Then remove the check mark of '''ClangCodeModel'''</p>
<p>[[File:zero2w-img237.png]]</p></li>
<li><p>'''<span style="color:#FF0000">After setting up, you need to restart QT Creator</span>'''</p></li>
<li><p>Then make sure the GCC compiler used by QT Creator. If the &gt; default is Clang, please change it to GCC.</p>
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''Debian12 please skip this step.'''</p></big>|}
<p>[[File:zero2w-img238.png]]</p>
<p>[[File:zero2w-img239.png]]</p></li></ol>
<p>[[File:zero2w-img244.png]]</p></li>
<li><p>References</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>[https://wiki.qt.io/Install_Qt_5_on_Ubuntu '''https://wiki.qt.io/Install_Qt_5_on_Ubuntu''']</p>
<p>[https://download.qt.io/archive/qtcreator '''https://download.qt.io/archive/qtcreator''']</p>
<p>[https://download.qt.io/archive/qt '''https://download.qt.io/archive/qt''']</p>|}</li></ol>
<span id="ros-installation-method"></span>
 
== ROS installation method ==

Navigation menu