[Kde-bindings] Default values?

Sohail Somani sohail at taggedtype.net
Sun Jun 22 18:41:54 UTC 2008


Mauro Iazzi wrote:
> Hi,
> 
> you may want to have a look at my lqt project. It contains Qt4 bindings 
> for Lua ( http://www.lua.org ), which is a language with ANSI C interface.
> 
> lqt is not part of the KDE project, and it does not have KDE bindings 
> yet, though I plan to include them at some point. It also does not use 
> Smoke. I only worked on it in Linux, so I don't know how it would work 
> on other platforms (though it should be quite portable).
> 
> You can find lqt in its git repository
> http://repo.or.cz/w/lqt.git
> The snapshots include a BUILD file which should help understanding how 
> it works.

Thanks!

I actually found it independently last night but its good to know you 
are still working on it :-)

I had some problems building it:

The cpptoxml converter assumes that I have /something/Qt/include/QtGui 
where QTDIR=/something/Qt. On Ubuntu, this is not the case (I have 
QTDIR=/usr/include/qt4/.) I worked around this by commenting out the 
line that has qtdir += "/include" in main.cpp

I know no lua but had the following error:

lua generator/generator.lua src/qtgui.xml -i '<QtGui>' -n qtgui -t 
generator/types.lua -t generator/qtypes.lua -f generator/qt_internal.lua
lua: generator/generator.lua:42: unexpected symbol near `...'

lua -v shows 5.0.3.

That being said, I did get the XML output that I wanted so thanks for that!

Sohail




More information about the Kde-bindings mailing list