Skip to content

Fork from libqtlua to implement feature i want

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

likwueron/libqtlua_fork

Repository files navigation

The QtLua library aims to make Qt4/Qt5 applications scriptable using
the Lua scripting language.


QtLua is released under the GNU LGPL v3 license.

Project documentation can be found online:(Original one)
http://www.nongnu.org/libqtlua/

This fork project provide some features:
- QFlag QtLua::Librarys which provide OR combination when using QtLua::State.openlib()
- Value of QObject (via print()) can be costum by slot "QString toString()"
- Register QObject can limit member access by setting "supreme meta object" which reject member access to it's super one
- Name of QObject can be costum by Q_CLASSINFO("LuaName", NAME_YOU_WANT)
- Can register static member method to registered QObject

Those are not neccessary because of QtLua::MetaType. They added because I didn't notice that class before.
- Methods can use QVariant/QVariantList as parameter or return value in script environment.

Those are once add but removed due to they'll cause crash in some situation:
- Methods can use QObject as parameter or return value without register via QtLua::MetaType



Build and install
=================

GNU autotools
-------------

    cd libqtlua-x.x.x
    mkdir bld
    cd bld
    ../configure
    make
    make install

CMake
-----

    cd libqtlua-x.x.x
    mkdir bld
    cd bld
    cmake ..
    make
    make install
    
Windows CMake MinGW32
---------------------

    OPEN Qt Command Prompt

    set LUA_DIR=[location of lua]

    cd libqtlua-x.x.x
    cmake-gui
    cd [where to build the binaries]
    mingw32-make

About

Fork from libqtlua to implement feature i want

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages