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

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

BR
sorry I can't see your images

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 825 on Wed Aug 28, 2019 3:18 pm

Users browsing this forum: No registered users and 4 guests