The package qt is available when you run the Lua interpreter using the qlua program. It provides a seamless interface between the lua interpreter and the Qt4 portable user interface libraries. Of course, a full understanding of this package qt requires a minimal familiarity with the Qt4 library.

Program qlua relies in fact on the QtLua C++ library which provides a Qt object that encapsulates a Lua interpreter All properties, slots and signals declared by the C++ Qt objects are automatically exposed in the Lua interpreter. Signals can be connected to Lua functions.

See also the packages qtwidget, qttorch, qtuiloader which are used for the Qt implementation of the package graphics.


  1. Program qlua
  2. Package qt
  3. QtLua API