[qt5] Port hnotes backend to Qt5