Install Qt in pcsag

Source: Internet
Author: User

Many gamers must have been familiar with the embedded linux system, and have been engaged in qtopia. This stuff has been compiled on the host machine and asked a lot, so some gamers have to wait. Here, we will introduce how to install Qt on pcduino without cross-compilation and install it directly and run it directly. Because the Qt library is large, we recommend that you create a larger SD card and start it as an SD card. The installation steps are as follows: 1. Download and install qtcreator.

Sudo apt-get install qtcreator

After the installation is complete, you will see the qt IDE. Are you familiar with it, but this is not available yet, because there is no Qt library in it.

2. Download Qt

Go to the official Qt website to download the qt library.

Http://qt-project.org/downloads

Download the embedded version. After the download is complete, decompress the package and enter the decompressed file.

3. Install the dependency File

Sudo apt-get install mesa-common-dev freeglut3 freeglut3-dev libqglviewer-dev-common

4. Configure the Qt library. The pcloud video card mail400 has powerful functions. Here we compile opengl

./Configure-no-pch-opengl -- prefix =/usr/local/qt/

If you do not have the/usr/local/qt directory, create one.

5. Compile and install

Make

Sudo make install

This process will take a long time. I personally tested it and it takes 36 hours to compile and install it. No error will be reported in the middle. You can rest assured.

6. Set Environment Variables

Add the following two lines at the end of/etc/profile:

PATH = "$ PATH:/usr/local/qt/bin"

Export PATH

7. Set Qtcreator (you can view it only after logging in)

In this way, you can start your embedded Qt journey.

8. Test.

This camera project, CameraRead.zip, you can download and test.

Download from FTP No. 1 of the customer's home:

------------------------------------------ Split line ------------------------------------------

FTP address: ftp://ftp1.bkjia.com

Username: ftp1.bkjia.com

Password: www.bkjia.com

On June 14, 2013, LinuxIDC.com \ June 14, December, Qt was installed in pcsag.

For the download method, see

------------------------------------------ Split line ------------------------------------------

PcDuino + BusyBox successfully built the minimum Linux System

Notes on Linux transplantation of pcsag

Transplantation and analysis of pcDuino U-Boot

PcDuino the first bare board program uart0

PcDuino + OpenCV for face tracking cameras

 

Related Article

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.