How can I run a Qt applicaton on ivi-shell?
johan.helsing at qt.io
Wed Dec 6 05:41:39 EST 2017
Also, it's a good idea to post the application output, and also the output with WAYLAND_DEBUG=1, and perhaps a stack trace if appropriate.
It's hard to give meaningful advice when all we now is "couldn't run".
From: genivi-ivi-layer-management <genivi-ivi-layer-management-bounces at lists.genivi.org> on behalf of zhangyang <zhangyang-0206 at 163.com>
Sent: Wednesday, December 6, 2017 10:34:06 AM
To: Yang Zhonghua
Cc: genivi-ivi-layer-management at lists.genivi.org
Subject: Re:How can I run a Qt applicaton on ivi-shell?
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
genivi-ivi-layer-management mailing list
genivi-ivi-layer-management at lists.genivi.org
More information about the genivi-ivi-layer-management