QtQuick Application text font disappear
-
Hi,
I am a QtQuick Developer, The application I developed has a small chance of the font disappearing after the computer is restarted.

I use the FontLoader component to load the fonts I want to use in the qml file.I want to know what causes this issue.
Here is a simple code example:Window { id: mainWindow FontLoader { id: fontAliPuhuiRegular source: "qrc:font/Alibaba-PuHuiTi-Regular.ttf" } Text { font { family: fontAliPuhuiMedium.name styleName: "Medium" pixelSize: 14 } verticalAlignment: Text.AlignVCenter color: "#FFFFFF" text: qsTr("test") } }Qt Version: 5.15.2 + msvc
System: Windows 10