-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.11
-
None
-
-
184ddaefc (dev), 641883c7e (dev)
Running svgtoqml commandline tool in a build environment without a window manager causes it to fail:
agent:2025/09/02 17:37:28 build.go:413: | FAILED: examples/quick/vectorimage/.qt/svgtoqml/Heart.qml /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtdeclarative-examples/6.11.0/build/examples/quick/vectorimage/.qt/svgtoqml/Heart.qml agent:2025/09/02 17:37:28 build.go:413: | cd /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtdeclarative-examples/6.11.0/build/examples/quick/vectorimage && /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtdeclarative-examples/6.11.0/recipe-sysroot-native/usr/bin/svgtoqml -c -p --copyright-statement Copyright\ ©\ 2024\ The\ Qt\ Company\ Ltd.\nSPDX-License-Identifier:\ LicenseRef-Qt-Commercial\ OR\ BSD-3-Clause /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtdeclarative-examples/6.11.0/qtdeclarative-examples-6.11.0/examples/quick/vectorimage/heart.svg /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtdeclarative-examples/6.11.0/build/examples/quick/vectorimage/.qt/svgtoqml/Heart.qml agent:2025/09/02 17:37:28 build.go:413: | qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" agent:2025/09/02 17:37:28 build.go:413: | This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. agent:2025/09/02 17:37:28 build.go:413: | agent:2025/09/02 17:37:28 build.go:413: | Available platform plugins are: offscreen, vnc, minimal.
Now that it's used in examples (https://codereview.qt-project.org/c/qt/qtdeclarative/+/667536) it blocks submodule updates: https://codereview.qt-project.org/c/yocto/meta-qt6/+/672771/2
For Gerrit Dashboard: QTBUG-139976 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
674798,4 | Make svgtoqml run correctly even without default platform plugin | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
674991,2 | Make lottietoqml run correctly even without default platform plugin | dev | qt/qtlottie | Status: MERGED | +2 | 0 |