Power & Source of Big Ideas

How to Setup Qt development environment for NanoPi 2

Moderators: chensy, 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:

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:
Hi FATechsupport

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

sorry I can't see your images

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 1 guest