[Kde-bindings] Default values?

Mauro Iazzi mauro.iazzi at gmail.com
Mon Jun 23 22:06:23 UTC 2008


Sorry, I did not see this (and following) mail until now.

the lua version I use is 5.1, debian based distros seem to prefer 5.0
by default for some reason. I will write in the BUILD instructions
which versions of qt and lua are used.

thank you again,

mauro


2008/6/22 Sohail Somani <sohail at taggedtype.net>:
> 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
>
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
>



More information about the Kde-bindings mailing list