lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 12/04/2011 00:25, Michal Kottman wrote:
It MAY still crash under heavy load, or there may be some API quirks, so
any feedback is highly appreciated.

Quick test: downloaded the 4.7_lfw version (strange name as it doesn't seem directly connected to lfw) and unzipped it. Big package: 14 MiB! That's Qt...

Did:
> set LUA_CPATH=";C:\Languages\Lua\lqt\lua\?.dll;C:\Languages\Lua\lqt\qt\?.dll"
to test the little test files found in the Git snapshot.
Most of these test files work fine, except three:

D:\Dev\3rdParty\lqt
> lua virt_test.lua
event overload called   ChildAdded
lua: virt_test.lua:14: Unexpected virtual method return type: nil; expecting bool
in: (null) @virt_test.lua:8
stack traceback:
        [C]: in function 'new'
        virt_test.lua:14: in main chunk
        [C]: ?

D:\Dev\3rdParty\lqt
> lua file_test.lua
open file =>    true
lua: file_test.lua:7: attempt to call method 'write' (a nil value)
stack traceback:
        file_test.lua:7: in main chunk
        [C]: ?

D:\Dev\3rdParty\lqt
> lua webview.lua
Loading site  www.lua.org ...
lua: webview.lua:20: bad argument #2 to 'connect' (receiver not QObject*)
stack traceback:
        [C]: in function 'connect'
        webview.lua:20: in main chunk
        [C]: ?

Knowing nothing about Qt, I won't comment on the above. But the running demos are interesting (a bit too elementary, alas).

Would you recommend a good tutorial about Qt would apply nicely to your Lua wrapper?

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