Details
Description
QString subProcessPath() function from src/core/web_engine_library_info.cpp is using qgetenv to get the QTWEBENGINEPROCESS_PATH for locating QtWebEngineProcess[d].exe.
QString subProcessPath() { ... ... const QByteArray fromEnv = qgetenv("QTWEBENGINEPROCESS_PATH"); ... ... return processPath; }
We have the issue with folder name with Japanese characters and QtWebEngineProcess[d].exe cannot be loaded.
In Qt Document, it mentioned about qgetenv like this:
"Note: on desktop Windows, qgetenv() may produce data loss if the original string contains Unicode characters not representable in the ANSI encoding. Use qEnvironmentVariable() instead. On Unix systems, this function is lossless."
For the UNICODE, Qt document mentioned like this as well.
"To fully benefit from Unicode, we recommend using QString for storing all user-visible strings, and performing all text file I/O using QTextStream."
Qt Refs: