Details
Description
During compilation of the Qt docs, the file qtwebengine/src/3rdparty/chromium/tools/licenses.py produces ModuleNotFound error because the function escape() was removed from cgi module in Python 3.8. To handle this error, the following workaround is used: to replace line 612:
if (sys.version_info[0] >= 3) and (sys.version_info[1] > 6): val = html.escape(repr(val)) else: val = cgi.escape(val)
instead of justĀ val = cgi.escape(val)