All Projects → kassane → qml_zig

kassane / qml_zig

Licence: MIT license
QML bindings for the Zig programming language

Programming Languages

Zig
133 projects

Projects that are alternatives of or similar to qml zig

mach-glfw
Ziggified GLFW bindings with 100% API coverage, zero-fuss installation, cross compilation, and more.
Stars: ✭ 186 (+644%)
Mutual labels:  ziglang, zig-package
zig-args
Simple-to-use argument parser with struct-based config
Stars: ✭ 106 (+324%)
Mutual labels:  ziglang, zig-package
zlm
Zig linear mathemathics
Stars: ✭ 67 (+168%)
Mutual labels:  ziglang, zig-package
zig-opengl
OpenGL binding generator based on the opengl registry
Stars: ✭ 29 (+16%)
Mutual labels:  ziglang, zig-package
IUPforZig
IUP (Portable User Interface Toolkit) bindings for the Zig language.
Stars: ✭ 56 (+124%)
Mutual labels:  ziglang, zig-package
SDL.zig
A shallow wrapper around SDL that provides object API and error handling
Stars: ✭ 102 (+308%)
Mutual labels:  ziglang, zig-package
ansi-term
Zig library for dealing with ANSI terminals
Stars: ✭ 25 (+0%)
Mutual labels:  ziglang, zig-package
zetaframe
lightweight zig game framework.
Stars: ✭ 14 (-44%)
Mutual labels:  ziglang, zig-package
zero-graphics
Application framework based on OpenGL ES 2.0. Runs on desktop machines, Android phones and the web
Stars: ✭ 72 (+188%)
Mutual labels:  ziglang, zig-package
sdk
TinyVG software development kit
Stars: ✭ 135 (+440%)
Mutual labels:  zig-package
zwld
Experimental wasm linker
Stars: ✭ 37 (+48%)
Mutual labels:  ziglang
mecha
A parser combinator library for Zig
Stars: ✭ 220 (+780%)
Mutual labels:  zig-package
pardus-store
Pardus Application Store
Stars: ✭ 32 (+28%)
Mutual labels:  qml-bindings
zig-gamedev
Building game development ecosystem for @ziglang!
Stars: ✭ 1,059 (+4136%)
Mutual labels:  ziglang
georgios
Hobby Operating System
Stars: ✭ 19 (-24%)
Mutual labels:  ziglang
zig-eddsa-key-blinding
A Zig implementation of EdDSA signatures with blind keys.
Stars: ✭ 15 (-40%)
Mutual labels:  zig-package
zacho
Zig's Mach-O parser
Stars: ✭ 27 (+8%)
Mutual labels:  zig-package
luf
Statically typed, embeddable, scripting language written in Zig.
Stars: ✭ 26 (+4%)
Mutual labels:  ziglang
zigdig
naive dns client library in zig
Stars: ✭ 26 (+4%)
Mutual labels:  zig-package
zgt
Zig GUI Toolkit: Portable library for making native GUIs in Zig
Stars: ✭ 218 (+772%)
Mutual labels:  zig-package

QML-zig

GitHub All Releases GitHub release (latest by date) GitHub

Bindings are based on DOtherSide C bindings for QML Library is mostly feature-compliant with other bindings based on the library, but lacks some minor features and has quite a few bugs.

Preview

qml_zig

Build - Steps

Requirements

All software required for building.

  • Qt 5.14 or higher
  • Zig v0.9.0 or higher
  • C++ compiler w/ C++11 support
  • CMake v3.2 or higher (DOtherSide build)

Instructions

# Clone repo
git clone --recursive https://github.com/kassane/qml_zig

# Open folder
cd qml_zig

# Build
zig build ExampleName -Drelease-safe|-Drelease-fast|-Drelease-small

Examples

zig build Animated - Run an Animated Box

zig build Hello - Hello World, with Menu and Clickable Button

zig build Cells - Cells example from QML Tute, click a color to change the text

zig build Button - Button with 2-way comms to the Zig code

zig build Layouts - Layouts examples

zig build Splits - Splitview example

zig build Tables - Tableview example

Work in Progres Examples

zig build Particle - Particle system example

  • Needs QObject wrapper working yet, to pass zig objects to the QML side

Status

  • Basic initialization and execution
  • More Examples - thanks @zigster64!
  • Providing properties to QML files

TODO

  • QAbstractListModels
  • QObject - working progress
  • QStyle
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].