LuaTest

From RpWiki
Revision as of 14:34, 19 August 2008 by Rp (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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