Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Qt 6.8 warnings #1074

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Commits on Aug 27, 2024

  1. refactor: Use new permission system in Qt 6.8

    Qt 6.8 introduces a new system to manage permissions for websites
    
    Building with Qt 6.7 and earlier is unaffected due to extensive preprocessor directives.
    Vekhir committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    4f0a5d2 View commit details
    Browse the repository at this point in the history
  2. refactor: use different setContent overload

    The old version of setContent returns bool and takes in pointers
    to allow access to the error information. This was replaced in Qt 6.5
    with a ParseResult struct which allows boolean checking and direct
    access to the information without additional pointers.
    
    The old version had separate overloads to specify whether to use
    namespace processing or not. This, among other options, can now be
    specified via ParseOptions which were introduced in Qt 6.5 too.
    Vekhir committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    c3b4325 View commit details
    Browse the repository at this point in the history
  3. refactor: Use QTimeZone instead of Qt::TimeSpec

    QDateTime::setTimeSpec is deprecated in Qt 6.9 per documentation,
    but already emits a warning in Qt 6.8. Anyway, use setTimeZone.
    Vekhir committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0232d4f View commit details
    Browse the repository at this point in the history