You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qt-kiosk-browser tries to load either the first argument or "settings.json" with the file: scheme. But this triggers the following warning:
XMLHttpRequest: Using GET on a local file is dangerous and will be disabled by default in a future Qt version.Set QML_XHR_ALLOW_FILE_READ to 1 if you wish to continue using this feature.
Indeed QML_XHR_ALLOW_FILE_READ=1 qt-kiosk-browser turns the warning off, but I'm not sure that is the best solution.
I'm opening this issue for tracking.
The text was updated successfully, but these errors were encountered:
@otavio, I feel like you're not reading my issues.
This is not from WebEngine, but from XMLHttpRequest. qt-kiosk-browser currently loads a local file via QML XHR, and it works. This warning is about Qt disabling this feature by default in the future. This means that qt-kiosk-browser will need to explicitly enable this feature or find an alternative, or else users will need to be informed about setting QML_XHR_ALLOW_FILE_READ=1.
This issue is meant to track the progress on this concern.
qt-kiosk-browser tries to load either the first argument or "settings.json" with the file: scheme. But this triggers the following warning:
Indeed
QML_XHR_ALLOW_FILE_READ=1 qt-kiosk-browser
turns the warning off, but I'm not sure that is the best solution.I'm opening this issue for tracking.
The text was updated successfully, but these errors were encountered: