QML by default allows CSS styling with limited options. The limitations are mentioned here.
But if your intention is to add a .css file into the project and make that as a style sheet then there is no default way.
Here is the out of the box project with GitHub, which allows direct integration of CSS style sheets into QML. You can refer to the examples in that project
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…