Home > Mobile >  Qt set beautiful fonts
Qt set beautiful fonts

Time:09-18

Want to set the other font in Qt, don't know what's in my practice mistake
Font2=QFont (YouYuan, 10);
L.s etFont (font);

At the same time want to ask could you recommend a nice font?

CodePudding user response:

Font net a lot of, but if want to commercial software, can only use some free commercial font, avoid infringement

CodePudding user response:

Ses blackbody l.t tf (Source Han Sans CN)

CodePudding user response:

reference 1st floor Italink response:
font net a lot of, but if want to commercial software, can only use some free commercial font, avoid infringement

Satisfied with the products is very good '

CodePudding user response:

You can use the global function first print qt fonts are available, and if their download font file use need to register first font file before using them

CodePudding user response:

Font2
The font
You write wrong

CodePudding user response:

Qt classes, specifically for the font in view the document to find QFont choose the function you need, such as:
QFont: : QFont (const QString & amp; Family, int pointSize=1, int weight=1, bool italic=false)
  •  Tags:  
  • Qt
  • Related