Hi all,

I'm a beginner in Qt so I would like to ask you advices on how to rotate the screen in qt embedded 4.5.


I'm using the Linux framebuffer driver and on reading this doc

http://doc.trolltech.com/4.5/qt-embe...anagement.html

I understand that rotation is only avaiable for Transformed driver.


I try to do rotation via sw. I noticed that in doc

http://doc.trolltech.com/4.5/qscreen.html

there is the definition of the static function

void QWSDisplay::setTransformation ( int transformation, int screenNo = -1 )

but when I call it in main function,


Qt Code:
  1. QWSDisplay::setTransformation(QTransformedScreen::Rot90, 0);
To copy to clipboard, switch view to plain text mode 


I obtain the error

error: incomplete type 'QWSDisplay' used in nested name specifier.


Could you give me some suggestions?

Thanks in advance

Beppe