Implement Qt5/Qt4 wrapper to attempt to support Qt4 (requires testing).