A wrapper to use qml-material as a qrc file.
IMPORTANT: this wrapper is only useful for qml-material up to version 0.2.
qml-material 0.3 has its own qrc system.
- create a git repo for your app:
git init - in your app's repo, add qml-material-qrc as a git submodule:
git submodule add https://github.com/maply/org-qtmob-material-wrapper lib/org/qtmob/material/wrapper - navigate to the submodule's folder
cd lib/org/qtmob/material/wrapper - download qml-material:
git submodule init; git submodule update - in your app's .pro file, add
include(lib/org/qtmob/material/wrapper/org_qtmob_material_wrapper.pri) - in your app's main.cpp file, add
engine.addImportPath("qrc:/org/qtmob/material/wrapper/qml-material/modules");
You can customize the org_qtmob_material_wrapper.qrc file to add/remove components and resources as needed. For example, for mobile deployment you might want to omit unused fonts and icons.