scite and qtlua

41 views
Skip to first unread message

ami

unread,
Jan 4, 2010, 10:43:45 AM1/4/10
to scite-interest
Qt is cross platform (win / linux / mac) and it already exists with
python binding. A new binding exists with lua!

I installed qtlua (http://www.nongnu.org/libqtlua/) and all examples
work.
When I call libqtlua this error:

sciteTest.lua:
require 'libqtlua'

Error loading module 'libqtlua' from file
> '/ Usr/local/lib/lua/5.1/libqtlua.so': / usr/local/lib/lua/5.1/libqtlua.so:
> Undefined symbol: luaopen_libqtlua

I do not control lua and c + +. do you think it would be possible to
use cetet library since scite?
Friend

Philippe Lhoste

unread,
Jan 4, 2010, 12:20:24 PM1/4/10
to scite-i...@googlegroups.com
Salut l'ami.

On 04/01/2010 16:43, ami wrote:
> Qt is cross platform (win / linux / mac) and it already exists with
> python binding. A new binding exists with lua!

It is a binding to allow scripting Qt applications with Lua.
Not to code Qt applications in Lua.
Even if apparently it allows to build some dialogs.

> sciteTest.lua:
> require 'libqtlua'

Is that the only content of sciteTest.lua? How is it related to SciTE?

> Error loading module 'libqtlua' from file
>> '/ Usr/local/lib/lua/5.1/libqtlua.so': / usr/local/lib/lua/5.1/libqtlua.so:
>> Undefined symbol: luaopen_libqtlua

I don't know the project, but it appears the .so file isn't a Lua library in the
traditional sense, ie. it isn't made to be loaded by 'require', rather to be embedded
directly in a Qt application.

> do you think it would be possible to
> use cetet library since scite?

You mean from SciTE? Since it isn't a Qt application, I doubt it...
I can be wrong in all accounts, since I had just a quick look at the (interesting) project.

Perhaps you should ask directly the author of QtLua (I guess you can write to him in
French... :)).

--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply all
Reply to author
Forward
0 new messages