Initial code to patching into the Qt code base.  This pretty much works now :D  Will do more testing, of course, and have to include in the build process.