14 return "/system/fonts"_L1;
19 return QFont(
"Roboto"_L1);
28 qFatal(
"QFontDatabase: Cannot find font directory %s - is Qt installed correctly?",
33 nameFilters <<
"*.ttf"_L1
\inmodule QtCore \reentrant
QString absoluteFilePath() const
Returns an absolute path including the file name.
static QByteArray encodeName(const QString &fileName)
Converts fileName to an 8-bit encoding that you can use in native APIs.
StyleHint
Style hints are used by the \l{QFont}{font matching} algorithm to find an appropriate default family ...
Style
This enum describes the different styles of glyphs that are used to display text.
static QStringList addTTFile(const QByteArray &fontData, const QByteArray &file, QFontDatabasePrivate::ApplicationFont *applicationFont=nullptr)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
static void split(QT_FT_Vector *b)
#define qPrintable(string)
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
QFileInfo fi("c:/temp/foo")
[newstuff]