LuaTest

From RpWiki
Jump to: navigation, search
luaTest

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)


Building

Linux

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

Source Code

git http viewer: luaTest

 git-clone http://git.oldsch00l.com/luaTest.git