Btw, my understanding is that even the upcoming 3.13.x series of nextcloud-desktop client may not build with Qt6. I recommend using owncloud-client which does support Qt6 and been built against that by the awesome KDE packagers of openSUSE from the beginning of the year (aka much before KF6 entered Factory).