[mythtv-commits] [MythTV/mythtv] 7480e8: Convert java style iterators to STL iterators. (li...

David Hampton noreply at github.com
Wed Jan 21 03:20:28 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 7480e881d609a846020ebfcb3f528be642db3776
      https://github.com/MythTV/mythtv/commit/7480e881d609a846020ebfcb3f528be642db3776
  Author: David Hampton <mythtv at love2code.net>
  Date:   2026-01-20 (Tue, 20 Jan 2026)

  Changed paths:
    M mythtv/libs/libmythupnp/serializers/jsonSerializer.cpp
    M mythtv/libs/libmythupnp/serializers/xmlSerializer.cpp
    M mythtv/libs/libmythupnp/serializers/xmlplistSerializer.cpp

  Log Message:
  -----------
  Convert java style iterators to STL iterators. (libmythupnp)

Qt is phasing out java-style iterators.  When "strict" mode is
enabled, java iterators are disabled and only STL iterators may be
used.

https://doc.qt.io/qt-6/qtglobal.html#QT_ENABLE_STRICT_MODE_UP_TO

Tested with commands like:
curl -H "Accept: application/json" http://localhost:6551/Frontend/GetStatus
curl -H "Accept: application/xml" http://localhost:6551/Frontend/GetActionList
curl -H "Accept: text/x-apple-plist+xml" http://localhost:6551/Frontend/GetContextList


  Commit: b48827b1900025aa63b72b067f2a5829b924f444
      https://github.com/MythTV/mythtv/commit/b48827b1900025aa63b72b067f2a5829b924f444
  Author: David Hampton <mythtv at love2code.net>
  Date:   2026-01-20 (Tue, 20 Jan 2026)

  Changed paths:
    M mythtv/programs/mythfrontend/custompriority.cpp
    M mythtv/programs/mythfrontend/galleryconfig.cpp
    M mythtv/programs/mythfrontend/mythfexml.cpp
    M mythtv/programs/mythfrontend/services/frontend.cpp
    M mythtv/programs/mythfrontend/services/mythfrontendservice.cpp

  Log Message:
  -----------
  Convert java style iterators to STL iterators. (frontend)

Qt is phasing out java-style iterators.  When "strict" mode is
enabled, java iterators are disabled and only STL iterators may be
used.

https://doc.qt.io/qt-6/qtglobal.html#QT_ENABLE_STRICT_MODE_UP_TO


Compare: https://github.com/MythTV/mythtv/compare/c1cc67d06e0c...b48827b19000

To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications


More information about the mythtv-commits mailing list