Active Topics

 


Reply
Thread Tools
Posts: 60 | Thanked: 23 times | Joined on Jan 2010
#1
After i did an apt-get upgrade in scratchbox i get this error:

mainwindow.h: In member function 'void MainWindow::setLandscape()':
mainwindow.h:43: error: 'WA_Maemo5ForceLandscapeOrientation' is not a member of 'Qt'
mainwindow.h: In member function 'void MainWindow::setPortrait()':
mainwindow.h:53: error: 'WA_Maemo5ForcePortraitOrientation' is not a member of 'Qt'

what happend ?

Sorry if this is stupid, i just followed this example:
http://qt.nokia.com/doc/qt-maemo-4.6...-rotation.html
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#2
it should work, but ive seen some updates happening to qt4.6 that removes functionality like for example WA_QMaemo5DesktopApplet. will need to double check the qt4.6 sources to be sure if this is the case. i can chk it and let you know once i have access to my laptop
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”
 

The Following User Says Thank You to krk969 For This Useful Post:
Posts: 60 | Thanked: 23 times | Joined on Jan 2010
#3
Please do that Thank you!
 
Posts: 60 | Thanked: 23 times | Joined on Jan 2010
#4
There seems to be some changes:

setAttribute(Qt::WA_Maemo5LandscapeOrientation, true);

setAttribute(Qt::WA_Maemo5PortraitOrientation, true);

http://qt.gitorious.org/+qt-develope...b970008520bd19

will try it out

Edit: That worked Sorry for this post, hope that it may help someone..

Last edited by tmsha; 2010-02-12 at 20:58.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:32.