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
export QTDIR=/opt/qt-5.15.0 export PATH=$QTDIR/bin:$PATH export QT_FONTDIR=$QTDIR/lib/fontss export QT_QPA_PLATFORM_PLUGIN_PATH=$QTDIR/plugins export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH export QML2_IMPORT_PATH=$QTDIR/qml
config.tar.gz
Description: config.tar.gz
#!/bin/sh ./configure \ -prefix /opt/qt-5.15.0 \ -release \ -v \ -opensource \ -platform linux-arm-gnueabi-g++ \ -pkg-config \ -make libs \ -optimized-qmake \ -opengl es2 \ -no-sse2 \ -qt-pcre \ -pch \ -eglfs \ -kms \ -gbm \ -shared \ -nomake examples \ -nomake tests \ -qt-zlib \ -skip qt3d \ -skip qtcanvas3d \ -skip qtlocation \ -skip qtcharts \ -gstreamer \ -webengine-alsa \ -webengine-pulseaudio \ -webengine-embedded-build \ -webengine-pepper-plugins \ -webengine-spellchecker \ -webengine-webrtc \ -qt-webengine-webp \ -qt-webengine-icu \ -qt-webengine-opus \ -qt-webengine-ffmpeg \
run.log
Description: run.log
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
