import QtQuick 2.7 import QtQuick.Controls 2.0 ApplicationWindow { visible: true width: 640 height: 480 title: qsTr("Broken tooltip font demo") Component.onCompleted : { console.log("wrong font: ", a.font.family) console.log("correct font: ", b.font.family) } Text { x:10 y: 10 text: "font.bold as a literal => works" font.family: "Fira Code" font.bold: true } Text { x: 10 y: 80 text: "font.bold as an expression => works" font.family: "Fira Code" font.bold: 1 == 1 } Rectangle { id: r x: 100 y: 200 color: "red" width: 15 height: 14 ToolTip { id: a text: "font.bold as an expression => breaks" font.family: "Fira Code" font.bold: 1 == 1 visible: r.visible } } Rectangle { id: r2 x: 100 y: 300 color: "red" width: 15 height: 14 ToolTip { id: b text: "font.bold as a literal => works" font.family: "Fira Code" font.bold: true visible: r2.visible } } }