How can I run a Qt applicaton on ivi-shell?
zhangyang-0206 at 163.com
Wed Dec 6 04:34:06 EST 2017
1. If you want your qt application run with ivi-shell, you should export QT_WAYLAND_SHELL_INTEGRATION=ivi-shell first.
2. I don't know your qt version, if it is >= 5.7, you can set QT_IVI_SURFACE_ID to specify ivi-surface-id for your qt app. follows this:
else if it is <5.7, you should apply genivi-ivi patch here: https://github.com/GENIVI/genivi-dev-platform/tree/master/meta-genivi-dev/meta-qt5
3. Be sure your ubuntu already have genivi-ivi-extension support
At 2017-12-06 09:30:09, "Yang Zhonghua" <happy2discover at gmail.com> wrote:
>I am new to wayland.
>The ivi-shell demo could run correctly on Ubuntu 17.10 so far.
>1. I made a hello-world Qt Quick2 application and tried to make it managed
>2. Two fullscreen applications could run on diffrent layers at the same
>time. The bottom one could show directly when the top one exits.
>I copied weston.ini in ivi-shell folder and added the following lines.
>But the hello-world Qt Quick2 application couldn't run on ivi-shell.
>AFAIK, the Qt application should make a request to generate surface-id.
>Anybody knows how to do it? Thanks so much!
>I've been stuck for almost one month...
>genivi-ivi-layer-management mailing list
>genivi-ivi-layer-management at lists.genivi.org
More information about the genivi-ivi-layer-management