package lablqml

  1. Overview
  2. Docs
OCamlfind package and PPX extension to interface OCaml and QtQuick

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.1.tar.gz
sha256=3ea2bde523aa194746a6e2927741ae8898385f3e6ef2c6aeebdb4be93264978b
md5=78d82c02437eb2dcd4ebf2c60bf3946f

Description

Versions <= 0.4 are known as lablqt, >0.5 -- as lablqml.

Tags

gui ui qt

Published: 18 Jul 2018

README

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.

Dependencies (7)

  1. conf-pkg-config build
  2. ppxlib < "0.9.0"
  3. conf-qt >= "5.2.1"
  4. configurator build
  5. dune
  6. ocamlfind build
  7. ocaml >= "4.03.0" & < "4.09"

Dev Dependencies

None

Used by (1)

  1. qocamlbrowser != "0.2.8" & < "0.2.12"

Conflicts

None

OCaml

Innovation. Community. Security.