qt
Expression qvariantlist:totable() returns a Lua table containing the elements of qstringlist starting at position 1.
qvariantlist:totable()
qstringlist
1
Example
require 'qt' a = qt.QVariantList{"a",2,3,4} return a:totable()[2]