OSSystems / qt-kiosk-browser

Provides a simple but highly configurable browser for use on Kiosk devices
GNU General Public License v3.0
16 stars 13 forks source link

Update Project to Qt 6 #13

Closed arthursdo closed 11 months ago

arthursdo commented 11 months ago

This PR updates the project from Qt 5 to Qt 6. The changes made include:

  1. browser.pro: Updated the Qt modules used in the project. The following changes were made:

    • Removed: webengine and webenginewidgets
    • Added: webenginequick and widgets
  2. main.cpp: Adjusted the Qt includes and initialization for Qt 6. The following changes were made:

    • Updated includes to use Qt 6 headers.
    • Added application name with QCoreApplication::setApplicationName.
    • Set environment variables QT_IM_MODULE and QML_XHR_ALLOW_FILE_READ.
    • Initialized QtWebEngineQuick with QtWebEngineQuick::initialize.

These changes ensure compatibility with Qt 6 and update the project accordingly.

Jarred-Wynan commented 6 months ago

Is there a roadmap for adding this project as a yocto supported layer? We are very interested in utilising the functions provided here in a version that is compatible with Qt6.