Qt 6.11 is out! See what's new in the release
blog
Font won't load
-
Hello, I found a font from googlefonts and imported it to my qt project through the resources property in CMAKE

I'm not sure if it's required, but I added it anyway just in case. When I apply the font to the font loader
FontLoader{ id: montserrat source: "Fonts/Montserrat-VariableFont_wght.ttf" }then try to use and apply weight to it through this code
Text{ anchors.centerIn: parent color: ColorProperties.textColor font.pixelSize: Math.round(btn2.height/3) text: montserrat.status == montserrat.Ready ? 'Loaded' : 'Not loaded' font.family: montserrat.name font.weight: Font.ExtraBold }The text appears as "Not loaded" but the font family does seem to be altered. The only problem I have is that the font ignores the ExtraBold property. Can I get some assistance in figuring out what went wrong?
Thanks