Akonadi quits in kde6 / postgresql issue

Tumbleweed up-to-date, installed kde6 this morning. Years ago I switched to postrgresql as akonadi backend. Now akonadi won’t start:


 org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
QList(QFileInfo(/usr/lib/postgresql/bin), QFileInfo(/usr/lib/postgresql/lib64))
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers: QMARIADB QMYSQL QSQLITE
org.kde.pim.akonadiserver: Invalid database object during database server startup
QProcess: Destroyed while process ("/usr/bin/pg_ctl") is still running.
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...

Still installed is the package libQt5Sql5-postgresql, but I fail to find a libQt6 version. Any ideas how to proceed?

Seems it needs * qt6-sql-postgresql to be installed.

i have had the exact same message with fresh installed opensuse 15.5 . I installed all the proper packages but it was solved only when i erased the “[QPSQL]” part of the akonadiserverrc file (in .config/akonadi) . I just left this :

[Debug]
Tracer=null

[%General]
Driver=QPSQL

And then akonadi works good and it made a new akonadiserverrc like that :

[Debug]
Tracer=null

[%General]
Driver=QPSQL

[QPSQL]
Host=/run/user/501/akonadi
InitDbPath=/usr/bin/initdb
Name=akonadi
Options=
ServerPath=/usr/bin/pg_ctl
StartServer=true

Install qt6-plugin-postgresql and restart akonadi