Difference between revisions of "Qt5Creator toolchain Qt 5.11.3"

From ESS-WIKI
Jump to: navigation, search
(release RK3288 Qt toolchain 5.11.3)
 
Line 12: Line 12:
  
 
Please download [https://pan.baidu.com/s/1JnXJ_X_HRDWoB14VBIq9fA cross compiler toolchain] (Password: gm9i)first. Then execute the following command to unzip the cross compiler tool to the /opt directory
 
Please download [https://pan.baidu.com/s/1JnXJ_X_HRDWoB14VBIq9fA cross compiler toolchain] (Password: gm9i)first. Then execute the following command to unzip the cross compiler tool to the /opt directory
 
===  ===
 
 
<pre>$ sudo rm -rf /opt/toolchain_Qt_V5.11.3/rk3288/
 
<pre>$ sudo rm -rf /opt/toolchain_Qt_V5.11.3/rk3288/
 
$ sudo mkdir -p /opt/toolchain_Qt_V5.11.3/rk3288/
 
$ sudo mkdir -p /opt/toolchain_Qt_V5.11.3/rk3288/

Revision as of 07:54, 26 February 2021

Prerequisites

All operations in this guide are based on Ubuntu 18.04 LTS 64bit only.
First please install Ubuntu 18.04 LTS 64bit* with minimum 2GB memory.

Installing required packages

Please login and perform the following commands:

$ sudo apt-get install -y gcc-8-arm-linux-gnueabihf g++-8-arm-linux-gnueabihf

Installing cross toolchain

Please download cross compiler toolchain (Password: gm9i)first. Then execute the following command to unzip the cross compiler tool to the /opt directory

$ sudo rm -rf /opt/toolchain_Qt_V5.11.3/rk3288/
$ sudo mkdir -p /opt/toolchain_Qt_V5.11.3/rk3288/
$ sudo tar -zxf rk3288_toolchain_Qt_V5.11.3_20210205_01.tar.gz -C </code>/opt/toolchain_Qt_V5.11.3/rk3288/

Working within QtCreator

The method of using this toolchain with qtcreator is the same as 5.9.4 toolchain. Therefore, you can refer to rk3288_qt5Creator.

However, the following differences need to be noted:

Config QtCreator ---- Qt Versions

  1. Bring up the options dialog using "Tools" -> "Options..."
  2. Select the "Build & Run" page on the left, switch to "Qt Versions" tab, and click "Add..."
  3. Select qmake file
    Select "/opt/toolchain_Qt_V5.11.3/rk3288/sysroot/qmake-debian-buster-armhf".
  4. Input Version name "Qt 5.11.3 (RK3288 )".

RTENOTITLE

Config QtCreator ---- Kits

  1. Bring up the options dialog using "Tools" -> "Options..."
  2. Select the "Build & Run" page on the left, switch to "Kits" tab, and click "Add..."
  3. Click "Add".
    Name
    input "RK3288 toolchain"
    Device Tpye
    Select "Generic Linux Device"
    Device
    Select "RK3288"
    Compiler
    Select "GCC 8(C,arm 32bit in /usr/bin)" and "GCC 8(C++,arm 32bit in /usr/bin)"
    Qt version
    Select "Qt 5.11.3 (RK3288)"

RTENOTITLE