Raspberry Pi----03_ installation QT5

Source: Internet
Author: User

One: Perform an upgrade on the Raspberry Pi:

1 : Updating the software source

$ sudo apt-get update

2 : Replace the old package

$ sudo apt-getupgrade

3 : Perform a Raspberry Pi firmware upgrade:

1, Raspberry Pi firmware: Can be understood as the Raspberry Pi bios, boot programs and the like, this part of Bo Tong not open source, to the Raspberry Pi added new features mainly through the firmware to achieve.

2, Raspbian system kernel: That is, the Linux kernel, this part is completely open source, the user can download the source code to compile, or through rpi-update and firmware upgrade together

$ sudo rpi-update

After the upgrade is complete, restart the Raspberry Pi


Two: Installation qt5- Default and Qtcreator

Take a look at the Raspberry Pi information



View information about the software warehouse Qt5




You can see that the QT version is 5.3.2



Installing Qt5-default

$ sudo apt-get install Qt5-default


2: installation Qtcreator :

This is qtcreator information, you can see a lot of LIBQT5 installed



$ sudo apt-get install Qtcreator

three: Using Qtcreator



Modify Compiler:



HELLO World




You can also run the compiled program directly:




Description

QT5 integrates a lot of useful functions, such as serial port, Bluetooth and other functions, can play a great role in the custom terminal. But note: In this Raspberry Pi version, the serial, Bluetooth and NFC features are not integrated. Hope that the official website can be a Raspberry Pi QT5



Here I am using the official source, not modified for domestic source




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.