https://doc.qt.io/qt-5/qcursor.html#setPos-1

"Note: On platforms where there is no windowing system or cursors are not available, this function may do nothing."

Now the question is if windows falls in this category