lqt
lqt copied to clipboard
Segfault with QGraphicsScene::addText
The below segfaults for me; it works if I do scene:addText("hi",QFont())
instead
require "qtcore"
require "qtgui"
local app = QApplication(1 + select('#', ...), {arg[0], ...})
local scene = QGraphicsScene()
scene:addText("hi")