How to Setup Qt development environment for NanoPi 2
Posted: Tue Feb 02, 2016 1:49 am
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:

Let's write a hello NanoPi program:


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:


Try again:

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:

Let's write a hello NanoPi program:


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:


Try again:
