Module 'org.kde.kio' is not installed

I am trying to convert a qt5 qml application to qt6. In qt5, i import kio with this:

import org.kde.kio as Kio

But that results in an error, module ‘org.kde.kio’ is not installed.

What am I doing wrong here?