bbui210
18th September 2008, 23:33
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);
When I compile it now, I get the following error:
undefined reference to `QTransformedScreen::setTransformation(QTransforme dScreen::Transformation)'
Is this no longer supported in QT4.4? If so, how do I rotate the screen from within the code now?
Thanks,
Bryan
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);
When I compile it now, I get the following error:
undefined reference to `QTransformedScreen::setTransformation(QTransforme dScreen::Transformation)'
Is this no longer supported in QT4.4? If so, how do I rotate the screen from within the code now?
Thanks,
Bryan