I am able to detect when the screen orientation changes without any issues. I am wondering what the best way to make your application "rotation-friendly" is using Qt.
The way I did it is to connect a slot to the QApplication::desktop()->resized() signal. In this slot, you can reorder the widgets depending on whether the application is in portrait mode (height > width) or landscape mode (width > height). You can reorder the widgets by calling the resize() or setGeometry() methods as appropriate (use resize() where possible).
@marxian, thanks for this tip. I am having issues getting the widgets to use the entire vertical space when in portrait mode. Is there some widget which controls this? I have tried using this->setGeometry and ui->centralWidget->resize.