12-27-2012 11:04 AM
I use qt and quick to develop applications for bb10,I have encountered
how to lock landscape mode in qt/quick project.
I have changed the descriptor file to landscape mode and screen
orientation in main.cpp to lock landscape mode, but still can't
landscape the application
some times when i succeed to run at landscape mode the application
crashes when go back to portrait at running time.
and this shown on the console
Qml debugging is enabled. Only use this in a safe environment!
Unsupported query type: 100
Unsupported query type: 0
QDeclarativeDebugServer: Waiting for connection on port 3768...
QBBWindow: invalid buffer count. Expected = 2, got = 1
what i can do for this problem?
12-29-2012 02:24 AM
must be some artifact of the QtQuick implementation. maybe it's directly monitoring accelerometers?
If the aforementioned settings are applied in the bar descriptor, then navigator will not send orientation events to your app.
12-30-2012 03:26 AM
I don't know what qt exactly doing
but I solved it by lock orientation to portrait mode
and rotate qml view to 90
its stupid solution, but I think there a bug in BB blugin in qt
so i will wait for next BB update