Coin: QNX 8.0 QEMU: put the fontconfig tools on PATH


764040 rebuilt fc-match for the 8.0 SDP, but tst_qfont::defaultFamily
still fails all five rows with "fc-match cannot be started: execve: No
such file or directory". The binary is in the image; it is just not on
PATH. Both fontconfig tools are installed to /system/xbin, while the
image PATH is /proc/boot:/system/bin. Coin does add /system/xbin, by
redefining home/root/.ssh/environment in data_files.custom, but
mkqnximage's own inputs/data.build defines that same file at line 72 and
the custom include only follows at line 96. data.build sets
[+dupignore], so the first entry wins and the override is dropped
without a warning. QNX 7.1 is unaffected: its built-in entry already
names /system/xbin.

The same gap has silently disabled the fc-cache call that
post_start.custom runs at the end of startup:

  post_startup.sh: fc-cache: cannot execute - No such file or directory

Install both tools into /system/bin, which is on PATH in the boot
environment and in an ssh session. fc-cache additionally needs HOME:
without it fontconfig fails with "Cannot load default config file" and
"No writable cache directories", because every cache directory in the
config is either absent or relative to HOME. The HOME and
FONTCONFIG_FILE that QNX_TEST_ENV sets do not reach guest startup, so
pass the same two values there.

Verified on a locally built and booted GA8.0.5 image: bare fc-match
resolves to /system/bin/fc-match and all five generic families return
DejaVu Sans, which is what QFont::defaultFamily() returns, so the five
rows pass; and the cache lands in /data/home/root/.cache/fontconfig,
which is the HOME the tests run with.

Pick-to: 6.12 6.11
Change-Id: I6bd29f997b9567218d85768fa47fab38b076cb28
Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
commit5671be245440384a7668ab058cc4f05826cff1cf
parentbb6a722532a55f39a5026de701c906e4188bb120
authorTuomas Vaarala <tuomas.vaarala@qt.io>
committerTuomas Vaarala <tuomas.vaarala@qt.io>
commit timeFri, 25 Sep 2026 07:01:31 +0000