This wasn't tested and it can't possibly work for now because plasma-framework has no support for Qt6 at the moment. This reverts commit 57b0485f.