User Manual Orange Pi Zero 3

  Features   |  Use   |    Linux     |  Linux SDK   |  Android   |  Android SRC   |

RU          EN  

Chapt 3. Instructions for use of Debian/Ubuntu Server and Xfce desktop system
Страница:   25    26    27    28    29    30    31    32    33    34    35    36    37    38    39    40    41    42    43    44    45    46    47    48    49    50    51    52    53    54    55    56    57    58    59    60    61    62    63    64    65    66    67    68    69    70    71    72    73    74    75    76    77    78    79    80    81    82    83    84    85    86    87    88    89    90    91    92    93    94    95    96    97    98    99    100    101    102    103    104    105    106    107    108    109    110    111    112    113    114    115    116    117    118    119    120    121    122  


3.30. How to install QT

  • 1) Use the script below to install QT5 and QT Creator

    orangepi@orangepi:~$ install_qt.sh

  • 2) After installation, the version number of QT will be automatically printed

    a. The qt version that comes with Ubuntu 20.04 is 5.12.8

    orangepi@orangepi:~$ install_qt.sh
    ......
    QMake version 3.1
    Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu

    b. The QT version that comes with Ubuntu 22.04 is 5.15.3

    orangepi@orangepi:~$ install_qt.sh
    ......
    QMake version 3.1
    Using Qt version 5.15.3 in /usr/lib/aarch64-linux-gnu

    c. The QT version that comes with Debian11 is 5.15.2

    orangepi@orangepi:~$ install_qt.sh
    ......
    QMake version 3.1
    Using Qt version 5.15.2 in /usr/lib/aarch64-linux-gnu

    d. The QT version that comes with Debian12 is 5.15.8

    orangepi@orangepi:~$ install_qt.sh
    ......
    QMake version 3.1
    Using Qt version 5.15.8 in /usr/lib/aarch64-linux-gnu

  • 3) Then you can see the QT Creator startup icon in Applications



    Img 3.238

    You can also use the following command to open QT Creator

    orangepi@orangepi:~$ qtcreator

  • 4) The interface after QT Creator is opened is as follows


    Img 3.239

  • 5) The version of QT Creator is as follows

    a. The default version of QT Creator in Ubuntu20.04 is as follows



    Img 3.240

    b. The default version of QT Creator in Ubuntu22.04 is as follows



    Img 3.241

    c. The default version of QT Creator in Debian11 is as follows



    Img 3.242

    d. The default version of QT Creator in Debian12 is as follows



    Img 3.243

  • 6) Then set up QT

    a. First open Help->About Plugins....



    Img 3.244

    b. Then remove the tick of ClangCodeModel



    Img 3.245

    c. After setting, you need to restart QT Creator

    d. Then make sure the GCC compiler used by QT Creator, if the default is Clang, please modify it to GCC

    Debian12 please skip this step.



    Img 3.246


    Img 3.247

  • 7) Then you can open a sample code


    Img 3.248

  • 8) After clicking the sample code, the corresponding instruction document will be opened automatically, you can read the instructions carefully


    Img 3.249

  • 9) Then click Configure Project


    Img 3.250

  • 10) Then click the green triangle in the lower left corner to compile and run the sample code


    Img 3.251

  • 11) After waiting for a period of time, the interface shown in the figure below will pop up, which means that QT can compile and run normally


    Img 3.252

  • 12) References

  • https://wiki.qt.io/Install_Qt_5_on_Ubuntu
  • https://download.qt.io/archive/qtcreator
  • https://download.qt.io/archive/qt

     <         > 


  • Страница:   25    26    27    28    29    30    31    32    33    34    35    36    37    38    39    40    41    42    43    44    45    46    47    48    49    50    51    52    53    54    55    56    57    58    59    60    61    62    63    64    65    66    67    68    69    70    71    72    73    74    75    76    77    78    79    80    81    82    83    84    85    86    87    88    89    90    91    92    93    94    95    96    97    98    99    100    101    102    103    104    105    106    107    108    109    110    111    112    113    114    115    116    117    118    119    120    121    122