Port pretty printers to Qt 5 and reenable unit test.
This probably won't work perfectly on stripped builds where we don't have any debug symbols, but at least we can now print stuff in debug builds.
BUG: 331044