Dear ofono maintainers,

Qt 6 is out now, and it was possible to add support for building phonesim
with it without too much effort.

Unfortunately, I couldn't find a pkgconfig file for the Qt5Compat module in Qt6,
so this patchset includes a port of the buildsystem to CMake,
which is the recommended buildsystem for Qt 6, which Qt now uses itself.
It allows quite easily supporting Qt5 and Qt6 with not much code.
Of course a change of the buildsystem might need more discussion,
so obviously feel free to reject this if it doesn't fit your plans.

As a compromise, you could also just skip the patch that removes the old 
buildsystems,
and provide two choices, but this is in my opinion unnecessary maintainance 
load.

Regarding testing the build with Qt 6, you can use the Qt installer from the Qt 
Company.
Make sure to install the Qt5Compat module, as it's still needed for QTextCodec.

Since the installer installs Qt 6 to a custom prefix, it is necessary to pass 
it to cmake, like this:

  cmake -DCMAKE_PREFIX_PATH=~/.local/Qt/6.0.1/gcc_64

(Assuming ~/.local/Qt was choosen as install destination)

Yours sincerely,
Jonah Brüchert


_______________________________________________
ofono mailing list -- ofono@ofono.org
To unsubscribe send an email to ofono-le...@ofono.org

Reply via email to