let-def / cuite Goto Github PK
View Code? Open in Web Editor NEW(mirror) OCaml bindings to Qt toolkit.
Home Page: https://gitea.lakaban.net/def/cuite
License: MIT License
(mirror) OCaml bindings to Qt toolkit.
Home Page: https://gitea.lakaban.net/def/cuite
License: MIT License
Explain how Qt concepts map to OCaml.
Provide tutorials to get started:
Optional: provide some infrastructure to add ocamldoc to generated files.
Painter is one of the low-level API that is better supported by manually writing the API rather than generating it.
It is ubiquitous enough that it should be part of the first release.
Existing examples are partial and more examples are needed.
When running make (with --verbose added to dune), I get the following error:
# # # Workspace root: /home/cep1/projects/cuite
# # Auto-detected concurrency: 8
# Dune context:
# ((name default)
# (kind default)
# (profile dev)
# (merlin true)
# (for_host ())
# (build_dir (In_build_dir default))
# (toplevel_path ((External /home/cep1/.opam/4.06.1/lib/toplevel)))
# (ocaml_bin (External /home/cep1/.opam/4.06.1/bin))
# (ocaml (External /home/cep1/.opam/4.06.1/bin/ocaml))
# (ocamlc (External /home/cep1/.opam/4.06.1/bin/ocamlc.opt))
# (ocamlopt ((External /home/cep1/.opam/4.06.1/bin/ocamlopt.opt)))
# (ocamldep (External /home/cep1/.opam/4.06.1/bin/ocamldep.opt))
# (ocamlmklib (External /home/cep1/.opam/4.06.1/bin/ocamlmklib.opt))
# (env
# ((DUNE_CONFIGURATOR /home/cep1/.opam/4.06.1/bin/ocamlc.opt)
# (INSIDE_DUNE 1)
# (OCAMLFIND_IGNORE_DUPS_IN
# /home/cep1/projects/cuite/_build/install/default/lib)
# (OCAMLPATH /home/cep1/projects/cuite/_build/install/default/lib)))
# (findlib_path ((External /home/cep1/.opam/4.06.1/lib)))
# (arch_sixtyfour true)
# (natdynlink_supported true)
# (supports_shared_libraries true)
# (opam_vars ())
# (ocaml_config
# ((version 4.06.1)
# (standard_library_default /home/cep1/.opam/4.06.1/lib/ocaml)
# (standard_library /home/cep1/.opam/4.06.1/lib/ocaml)
# (standard_runtime /home/cep1/.opam/4.06.1/bin/ocamlrun)
# (ccomp_type cc)
# (c_compiler gcc)
# (ocamlc_cflags (-O2 -fno-strict-aliasing -fwrapv -fPIC))
# (ocamlopt_cflags (-O2 -fno-strict-aliasing -fwrapv))
# (bytecomp_c_compiler
# (gcc
# -O2
# -fno-strict-aliasing
# -fwrapv
# -fPIC
# -D_FILE_OFFSET_BITS=64
# -D_REENTRANT))
# (bytecomp_c_libraries (-lm -ldl -lcurses -lpthread))
# (native_c_compiler
# (gcc
# -O2
# -fno-strict-aliasing
# -fwrapv
# -D_FILE_OFFSET_BITS=64
# -D_REENTRANT))
# (native_c_libraries (-lm -ldl))
# (cc_profile (-pg))
# (architecture amd64)
# (model default)
# (int_size 63)
# (word_size 64)
# (system linux)
# (asm (as))
# (asm_cfi_supported true)
# (with_frame_pointers false)
# (ext_exe )
# (ext_obj .o)
# (ext_asm .s)
# (ext_lib .a)
# (ext_dll .so)
# (os_type Unix)
# (default_executable_name a.out)
# (systhread_supported true)
# (host x86_64-unknown-linux-gnu)
# (target x86_64-unknown-linux-gnu)
# (profiling true)
# (flambda false)
# (spacetime false)
# (safe_string false)
# (exec_magic_number Caml1999X011)
# (cmi_magic_number Caml1999I022)
# (cmo_magic_number Caml1999O022)
# (cma_magic_number Caml1999A022)
# (cmx_magic_number Caml1999Y022)
# (cmxa_magic_number Caml1999Z022)
# (ast_impl_magic_number Caml1999M022)
# (ast_intf_magic_number Caml1999N022)
# (cmxs_magic_number Caml1999D022)
# (cmt_magic_number Caml1999T022)
# (natdynlink_supported true)
# (supports_shared_libraries true)
# (windows_unicode false)))
# (which
# ((ocaml ((External /home/cep1/.opam/4.06.1/bin/ocaml)))
# (ocamlc ((External /home/cep1/.opam/4.06.1/bin/ocamlc.opt))))))
# Actual targets:
# - _build/default/lib/libcuite.so
Running[2]: (cd _build/default/gen && ./gen_value.exe) > _build/default/gen/flag_values.ml
Command [2] exited with code 1:
$ (cd _build/default/gen && ./gen_value.exe) > _build/default/gen/flag_values.ml
/tmp/ccxTHjvq.o:(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'
collect2: error: ld returned 1 exit status
The current allocator only supports up to one OCaml thread and one C++ (Qt) thread.
This is because the state is global and not saved on OCaml context switch.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.