Material Design Icons binding for Qt (Widgets and QML)
Let's say you are looking for an icon to use in your Qt application. You want something depicting an eye
and you found it in the Material Design Icons collection:
With this library, you can easily use it by just calling
material::pixmap("eye");
And with a few more lines for Qt Widgets:
auto label = new QLabel;
label->setPixmap(material::pixmap("eye", QSize(32, 32), Qt::darkGray));
label->show();
Or maybe you want to use in in QML? Go ahead with:
MaterialDesignIcon {
name: "eye"
color: "darkGray"
size: 32
}
It's that simple!
Currently contains: Material Design Icons 2.5.94
- Include header and source files into your build process
- Include resources (Qt resource file and the font file) into your build process
- Start using it.
- Include MaterialDesignIcon.qml and MaterialDesignIconGlyphs.js
- Include resources (Qt resource file and the font file) into your build process
- Start using it.
Code - MIT
Templates - WTFPL
Community Icons - SIL Open Font License 1.1
Google Material Design Icons - Apache License 2.0