Qt App rotation [solved]
-
Can I ask you another question about screen rotation?
I tried to rotate the screen with:
echo 1 > /sys/class/graphics/fbcon/rotate
and the frame buffer is rotating but when i launch the Qt app it doesn't rotate...
Do you know if it's possible to rotate it that way as well?.. :)Again, Thank you! :)
-
You're welcome :)
Did you start the application with the transformed stuff ?
-
I mean to rotate the whole frame buffer and launch the app.
When I tried to do this with the rotate file I mentioned before the OS rotates but when I launch the Qt app (without the display transformed) it's still straight.. It doesn't affect the Qt app. -
You can try (maybe using ssh) to rotate the whole frame buffer after the application launch
-
Tried that already and it still launches straight.. :/
(The frame buffer is rotated but the qt app on top is straight) -
And the transform parameter ? Doesn't have any effect ?
-
Doesn't effect at all.. the Qt app ignores the frame buffer rotation completely...
-
Might be a bug then... Did you check the "bug report system":http://bugreports.qt-project.org/issues/ to see if something similar has already been reported ?
-
Did now.. couldn't find anything about it..
-
Another test I can think of is to build your QtEmbedded for x86 with the same options and qfvb additionally and try to start your program with the same command line options directing the output to qvfb
-
Good idea, but I think the transposed is good enough for me now.. maybe i'll go back to that later on.
Thanks alot! :) -
You're welcome !
If you have everything working now, could you update the thread title prepending [solved] ? So other forum users may know a solution has been found :)
-
Sure :)
-
@SGaist said:
n try (maybe using ssh) to rotate the whole frame buffer after the application launch
Hi Is this issue been resolved ?
I also need rotation. Does Qt does the rotate in its library or does it expect the framebuffer dirver to do the rotation ? I ask becuase our Hw/fbdev driver does not support rotation, so I wander if rotation in Qt should work.
From this thread it seems that Qt can't do the rotation without HW/framebuffer support....Thanks,
Ran