[PATCH phonesim 0/3] Port to Qt6 (v2)

Andres Salomon <[email protected]> Sat, 28 Feb 2026 04:12:13 -0500
Newsgroups dev.linux.lists.ofono
Message-ID <20260228041213.45bc0030@5400>
From: Andres Salomon <[email protected]>

A few years ago, Jonah send patches to port Phonesim to Qt6, but only
some of them were accepted. In particular, the patches to convert the
project to CMake were not pulled in. Rather than switch to CMake, here's
a patch set that enables Qt6 within the existing Autoconf build system.

This first checks for Qt6, and will fall back to Qt5. There are still
plenty of warnings when building for Qt6 due to the Qt5 Compat module
being used, but those can be cleaned up in time.

Andres Salomon (2):
  Only call QTextStream::setCodec in Qt5
  Make configure script detect and enable Qt6 if available

Jonah Br=C3=BCchert (1):
  Fix compatibility with Qt6

 configure.ac     | 26 +++++++++++++++++---------
 src/control.cpp  |  8 +++++---
 src/phonesim.cpp |  2 +-
 src/qwsppdu.cpp  | 12 ++++++------
 4 files changed, 29 insertions(+), 19 deletions(-)

--=20
2.51.0