package lablqml
OCamlfind package and PPX extension to interface OCaml and QtQuick
Install
Dune Dependency
Authors
Maintainers
Sources
0.6.2.tar.gz
sha256=575c8e4135feb6ea2799e51a987e81023b4d48bc4d48cb0b42406b6d8b692781
md5=7d50f1444fd50fe70663138b2ab491f0
README.md.html
README.md
lablqml
is a library for interfacing OCaml and QtQuick.
Run make
to build and make tests
to run tests.
Edit QmlContext.ml[i]
to adjust OCaml API.
Add C++ source files and headers to the stubs directory. Write them down in the liblablqml_stubs.clib
to put these C++ objects into final lablqml.cm[x]a
. If you add some headers in the stubs directory specify them as dependencies in the myocamlbuild.ml
to make them being copied to the _build
directory. For instance:
dep ["compile"; "c"] ["stubs/lablqml.h"];
dep ["compile"; "qsinglefunc"] ["stubs/QSingleFunc.h"];
dep ["compile"; "camlpropmap"] ["stubs/CamlPropertyMap.h"];
There are some test demos in the src_tests
directory. We can run them using make tests
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>