I know this is a few days late, but I suspect the warning is because you do not have a Qt event loop running. QApplication::exec() starts an event loop (which is a QThread). If you don't have a QApplication in your Lua environment, then it is likely you aren't running from within a QThread.
Bookmarks