Skip to content

URL doesn't change #6

@vivien

Description

@vivien

Hi there, I'm setting a different URL in the config file but the browser will always display the builtin default ossystems website:

root@beaglebone:~# cat /etc/qt-kiosk-browser.conf
{
    "URL": "https://github.com/OSSystems/qt-kiosk-browser",
    "RestartTimeout": 0,
    "ScreenSaverTimeout": 0
}
root@beaglebone:~# /usr/bin/qt-kiosk-browser --no-sandbox -platform linuxfb /etc/qt-kiosk-browser.conf
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
This plugin does not support createPlatformOpenGLContext!
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.

Am I doing something wrong?

If not, is there another way to provide an URL, like a webengine/chromium command line argument or environment variable?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions