[Interest] Qt 5.9 with Wayland IVI Extension

Awadhiya, Vikas Vikas.Awadhiya at ifm.com
Tue Dec 18 11:54:30 CET 2018

Hi All,

I run a simple Qml application in Wayland IVI Extension (Weston 5.0) with following console commands,

user@$ layer-add-surfaces 1 10
QT_WAYLAND_SHELL_INTEGRATION=ivi-shell ./simple -platform wayland

Then my application become visible but I can't set its positon or to say can't reposition window and no matter what x and y value are set in Qml, application always open at (0,0) position.
But there is way to position window by ILM console commends, so if size of window 200 x 200 and I want to position it at (50, 50) and surface id of app is 1234, then

user@$ LayerManagerControl set surface 1234 destination region 50 50 200 200

By this console commend window will be re-positioned to (50, 50)

After doing all this things I have few questions,

1.         Does Qt5.9 supports Wayland IVI extension,
2.         If Qt support Wayland IVI extension then how to use inbuilt support and in that case window should repositioned according to x and y.
3.         If Qt doesn't support Wayland IVI extension, then what is Qt IVI ? And In that case what I have to develop to enable ILM interaction through Qt itself rather than using ILM console commends?
4.         Or what is correct way of doing Qt programming in Wayland IVI Extension.

These is also a qt official page at https://doc.qt.io/qt-5.11/qtwaylandcompositor-attribution-wayland-ivi-extension-protocol.html
What this page explains and how to use it?

Vikas Awadhiya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181218/de0e49b0/attachment.html>

More information about the Interest mailing list