add qtDatabase to pvapp.lua