This is a library of QML widgets implementing Google's Material Design. It is completely cross platform, and runs on Linux, OS X, and Windows. It may also run on iOS and Android, though those platforms have not been tested and are not currently officially supported.
Brought to you by the Papyros development team.
- Qt 5.4 or higher.
- CMake
- Extra CMake Modules
QPM package coming soon!
Just install using:
qpm install io.papyros.material
If you want to bundle the Roboto fonts in your project, file ABOVE the include(vendor/vendor.pri)
line, add the following line:
OPTIONS += roboto
Add the submodule:
git submodule add [email protected]:papyros/qml-material.git material
Add the .pri
file to your project:
include(material/material.pri)
To optionally bundle the Roboto fonts in your project, add this line ABOVE the previously added include()
:
OPTIONS += roboto
From the root of the repository, run:
mkdir build; cd build
qmake ..
make
make install # use sudo if necessary
Now check out the demo
folder to see how to use Material Design from QtQuick!
QML Material is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
The Material Design icons by Google are released under an Attribution 4.0 International license. The icons are directly copied from Google's GitHub repository at https://github.com/google/material-design-icons.