This is a small test application using c++, qt and the lua scripting language.
You can input lua commands in the edit control, currently there are 3 commands you can use to paint in the control above:
clear() drawLine( startx, starty, endx, endy) drawText( string, posx, posy)
On a debian based system try this to solve building dependencies (tested on kubuntu):
apt-get install build-essential libqt4-dev liblua5.1-0-dev
to build use these commands:
qmake-qt4 luaTest.pro make
git http viewer: luaTest