Page 1 of 1

How to Setup Qt development environment for NanoPi 2

Posted: Tue Feb 02, 2016 1:49 am
by FATechsupport
Some users asked us about steps to setup a Qt development for the NanoPi 2. We found a very good post from a Chinese forum http://bbs.ickey.cn/group-topic-id-63399.html

Here is our translation for that post. All the following pictures and steps are quoted from that post.

Please try the following commands to download Qt and tslib:
apt-get install g++
apt-get install qt4-dev-tools
apt-get install Qtcreator

If during this process your system complains the disk space isn't enough and you need to reallocate enough disk space for it. If this is done successfully Qt creator will be installed:
Image

Let's write a hello NanoPi program:
Image

Image

If during this process your compiler reports any errors please check if you have setup your cross compiler correctly especially whether or not you have setup your g++ correctly:
Image
Image

Try again:
Image

Re: How to Setup Qt development environment for NanoPi 2

Posted: Tue Nov 07, 2017 1:54 am
by Carlos Pinto Jr.
Hi FATechsupport

The images are not being displayed.
Could you share them with us?

BR

Re: How to Setup Qt development environment for NanoPi 2

Posted: Tue Nov 07, 2017 8:55 am
by Maroon5
sorry I can't see your images