Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Suppress warnings from QtWebEngineProcess[.exe]



  • Hi,

    I have finally managed to deploy my application with Qt WebEngine (the documentation is really not up to date or is it?), and if I launch my application from the console (on Linux for example) then I am getting the following messages:

    Qt WebEngine ICU data not found at /opt/Qt/5.12.8/gcc_64/resources. Trying parent directory...
    Qt WebEngine ICU data not found at /opt/Qt/5.12.8/gcc_64. Trying application directory...
    Installed Qt WebEngine locales directory not found at location /opt/Qt/5.12.8/gcc_64/translations/qtwebengine_locales. Trying application directory...
    Qt WebEngine resources not found at /opt/Qt/5.12.8/gcc_64/resources. Trying parent directory...
    Qt WebEngine resources not found at /opt/Qt/5.12.8/gcc_64. Trying application directory...
    

    I checked the source code for QtWebEngineProcess and indeed, it looks for the ICU data and resources in different folders. However, as we can see, if it doesn't find what it needs in the a given folder, it generates a warning even though it eventually finds it.

    This looks very unprofessional to me, so I am wondering whether I can get rid of those messages. At the end, I know that my application works fine once deployed, so I don't want to see those messages.

    Cheers, Alan.


Log in to reply