运行程序后发现文字无法正常显示
报错如下:
17:33:31: Starting /home/orin/Documents/qt_peter/hello1/hello1 ...
QFontDatabase: Cannot find font directory /home/orin/Downloads/qt-everywhere-src-5.15.12/build/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /home/orin/Downloads/qt-everywhere-src-5.15.12/build/qtbase/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory