Qt5 compatible modifications

Signed-off-by: stevenhoneyman <stevenhoneyman@users.noreply.github.com>