Skip to content

dh-electronics/qtwebbrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qtwebbrowser

Webbrowser used in DHMI Products

Intro

This Webbrowser is based on the qtwebbrowser from qt Company.

The original source code came from https://code.qt.io/cgit/qt-apps/qtwebbrowser.git/

Some changes for the DHMI Touch Panel Computers from DH Electronics have been made:

  • Replaced the settings menue with an config file
  • added a screen saver
  • added a kioskmode
  • added possibility to enable remote debugging for websites
  • support for systemd watchdog

File permissions

For the screen saver functionality the Web Browser needs access to the file /sys/class/backlight/display/brightness.

Runtime Dependencies

The qt WebBrowser only depends on the QT Framework Version.
The Webbrowser was tested with a QT Version 6.6.2 .

Development Dependencies

Besides the Qt Build Environment the project needs python3 with the module cogapp for some automatic codegeneration.

Build Project

The project can be built with qmake for touch devices as it is.
If you want to build the project for desktop system you have to remove the DEFINE TOUCH_MOCKING.

Starting the Webbrowser

The following environment variables needs to be set on DHMI systems:

ETNA_MESA_DEBUG=nir
QT_QPA_PLATFORM=eglfs
QT_QPA_EGLFS_ALWAYS_SET_MODE=1
QT_QPA_EGLFS_KMS_CONFIG=/etc/default/qt6-eglfs-kms.json

The values for the Environment Variables may differ on other platforms.

The webbrowser can then be started from the application folder:

./qtwebbrowser

About

Webbrowser used in DHMI Products

Resources

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.FDL
Unknown
LICENSE.GPLv3

Stars

Watchers

Forks

Packages

No packages published