[Interest] Help The qt client program uses the Wayland plug-in When ivi-compositor specifies the linuxfb plug-in, the qt client program can switch between hide and show, but when ivi-compositor specifies the eglfs plug-in, the client program property visible is c...
胡 其云
hqyzs at hotmail.com
Thu Nov 26 08:00:47 CET 2020
The qt client program uses the Wayland plug-in. When ivi-compositor specifies the linuxfb plug-in, the qt client program can switch between hide and show, but when ivi-compositor specifies the eglfs plug-in, the client program property visible is changed from true to false and crashes
I set up an environment on an embedded development device and compiled qt5.15.0. Contains the qtwayland module. Compiled successfully.
The compilation environment is as follows:
unbuntu 18.04,Linux version 4.4.194
arm-linux-gnueabihf-gcc: gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
arm-linux-gnueabihf-g++: gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
Embedded development equipment: firefly-rk3288
Related library installation reference: https://wiki.qt.io/Building_Qt_5_from_Git
qt: qt-everywhere-src-5.15.0
Preparation for compilation:
(1)vi qt-everywhere-src-5.15.0/qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf
(2)Replace arm-linux-gnueabi- with arm-linux-gnueabihf-
(3)configure parameters: see attachment doconfig-15.0.sh
(4)configure check result: see attachment config.tar.gz
Qt source code compilation:
make & male install
run:
Compile ivi-compositor, test qml program
Note: See the attachment for environment variables, program startup script, program output log.
program qt screen synthesizer ivi-compositor, and a simple qml client program
When ivi-compositor specifies the linuxfb plug-in, the qt program can switch between hiding and showing, everything is perfect.
But when ivi-compositor specifies eglfs plug-in and check the log, eglfs reports no error, Wayland uses egl and it is no problem. After the qt client program is started, and then change the visible property of the window to false, the qml program crashes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201126/56664238/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: profile.txt
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201126/56664238/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.tar.gz
Type: application/x-gzip
Size: 30141 bytes
Desc: config.tar.gz
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201126/56664238/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doconfig-15.0.sh
Type: text/x-sh
Size: 593 bytes
Desc: doconfig-15.0.sh
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201126/56664238/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run.log
Type: application/octet-stream
Size: 7295 bytes
Desc: run.log
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201126/56664238/attachment.obj>
More information about the Interest
mailing list