• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoInstall QT5 on pcDuino Ubuntu System
Previous Next

Install QT5 on pcDuino Ubuntu System

Posted by: admin , January 13, 2015

In this post, we introduce install QT on pcDuino. We directly compile and install QT on pcDuino, and didn’t cross-compile it on PC.  As the libraries of QT is pretty large, we suggest to use a large SD.

 

The following are the installation steps:

 

1. Download and install qtcreator.

  1. sudo apt–get install qtcreator

After the installation is done, we can see the IDE of QT. But we still cannot use this at this moment as there is no library of QT yet.

2. Download QT

We need to go to website: http://qt-project.org/downloads to download the embedded version of QT. After download, unzip and enter the directory where the unzipped files located.

 

3. Install dependency files

http://qt-project.org/downloads

 

4. Configure QT libraries

pcDuino supports mail400. We need to include OpenGL in the compilation.

  1. ./configure -no-pch -opengl –prefix=/usr/local/qt/

If you don’t have a directory named /usr/local, please create one.

5. Build and Install

  1. make
  2. sudo make install

It will take a very long time. In our case, it takes 36 hours.

6. Configure Environment Variables

Append the following two lines to file /etc/profile:

  1. PATH=“$PATH:/usr/local/qt/bin”
  2. export PATH

7. Configure QTcreator:

 

QQ截图20130723144046

 

QQ截图20130723144226

 

QQ截图20130723144343

 

QQ截图20130723144419

 

After this, the configuration is done, and we can begin the journey of QT.

 

8. Test Drive

 

QQ截图20130723144821

 

The project is using a webcam and displays the video. The entire project can be downloaded here. CameraRead

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors