Comment 5 for bug 1626501

Revision history for this message
Fred Vkigg (fvkigg) wrote :

As a non QML Programmer my guess this should be done in the MainView Component.onCompleted method.
Anyone know how to get hold the QApplication instance in there?

This is needed in order to override 'QNetworkAccessManagerFactory. One other possibility is set the ApplicationName on ApplicationVersion Strings.
See https://wiki.qt.io/How_to_set_user_agent_in_Qt_application