How to run QT4 on banana pi

1、install QT package: sudo apt-get install qt4-dev-tools sudo apt-get install gcc sudo apt-get install xterm sudo apt-get install git-core sudo apt-get install subversion

2,install qtcreator: sudo apt-get install qtcreator

3、runing qtcreator

runing interface

4、config qtcreator:

a、add compile link: tools > Options > build & run > tool chain > add

compiler path : /usr/bin/arm-linux-gnueabihf-gcc-4.6 Debugger : /usr/bin/gdb Mkspec : default

b、add version: tools > Options > build & run > Qt Versions > Add

5、qtcreator ,do a first project

just check choose add #include ;at main.cpp add QLabel label(“Holle,world!”); label.show();

check compile and running:

success:

link from: http://forum.lemaker.org/cn/forum.php?mod=viewthread&tid=8905#lastpost