Hello everyone,
I am trying to rotate my program within the code and not have to do it from the command line. It used to work in 4.1.1, but now I upgraded to 4.4.1 and I get an error.
static_cast <QTransformedScreen
*>
(QScreen::instance())->setTransformation
(QTransformedScreen
::Rot90);
static_cast <QTransformedScreen*>(QScreen::instance())->setTransformation(QTransformedScreen::Rot90);
To copy to clipboard, switch view to plain text mode
When I compile it now, I get the following error:
undefined reference to `QTransformedScreen::setTransformation(QTransformedScreen::Transformation)'
undefined reference to `QTransformedScreen::setTransformation(QTransformedScreen::Transformation)'
To copy to clipboard, switch view to plain text mode
Is this no longer supported in QT4.4? If so, how do I rotate the screen from within the code now?
Thanks,
Bryan
Bookmarks