The only supported method for orientation on MeeGo 1.2 Harmattan is through QtQuick.
That said, there is a workaround in the form of embedding QWidget based UIs in QML through the QGraphicsProxyWidget class. To achieve this, you need to create a wrapper QML project with Window {} or PageStackWindow {} elements, and put your UI in it as a QML element. Note that using this workaround has known issues with layouting, performance and no system specific styling will be applied to the QWidgets used this way. For an example how to do this, see
http://doc.qt.nokia.com/4.7-snapshot...-qwidgets.html
(The example uses a QPushButton, but you could use any QWidget based class). Let me know if you need additional help with this.