Skip to content

Port to Qt6 (v2)

Andres Salomon ofono 1 version New

Get series with b4
b4 am 20260228041213.45bc0030@5400

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Fix compatibility with Qt6src/control.cpp src/phonesim.cpp src/qwsppdu.cpp+10 -100 replies
2/3Only call QTextStream::setCodec in Qt5src/control.cpp+2 -00 replies
3/3Make configure script detect and enable Qt6 if availableconfigure.ac+17 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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üchert (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(-)
Signature · 1 line
2.51.0