diff --git a/README.md b/README.md index 2636853..0636fa8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,22 @@ Inspired by http://www.xargs.com/qml/process.html +Add to project.pro: + +``` +HEADERS += \ + ../../qml-process/process.h +``` + +Add to main.cpp + +```c++ +#include +#include "../../qml-process/process.h" + +// in main: +qmlRegisterType("Process", 1, 0, "Process"); +``` + Use in QML: ```