[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Doing GUI stuff in Lua
- From: Michal Kottman <k0mpjut0r@...>
- Date: Mon, 07 Mar 2011 20:17:02 +0100
On Mon, 2011-03-07 at 13:38 +0100, Sebastien Lai wrote:
> + lqt - Qt is awesome, and if lqt had a documentation I suppose it
> would be awesome too, but lqt is very much impossible to use without a
> documentation (at least not without doing hours of attempting to
> translate the official Qt documentation into Lua, which can be very
> tiresome)
Qt is awesome, and it is also HUGE. You cannot possibly keep the code
and documentation up-to-date manually. What we strive for is 1-to-1
mapping between C++ and Lua. That's the whole purpose of lqt. Apart from
a few quirks, which I tried to document on the wiki [1], you work with
all the Qt classes the same as you would work with them in C++.
Regarding the documentation - we do not write/copy the code (we generate
it from the headers), why should we write/copy the documentation, when
all you need is open the Qt docs? I always have 'Qt Assistant' open when
I use lqt, and I do not find it tiresome.
I would change the statement "lqt is very much impossible to use without
a documentation" into "Qt is very much impossible to use without a
documentation" :)