Skip to content

seaqt/nimqml-seaqt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NimQML-seaqt

NimQML-seaqt is a fork of NimQML that uses seaqt instead of DOtherSide to provide Qt bindings.

Switching to NimQML-seaqt should require no application changes beyond changing the dependency - the changes are all in the nimqml private code.

Oof, really need a better name, it's a mess to type.

Requirements

  • Nim 2.0.0 or higher
  • Qt with pkg-config support installed

Nimble instructions

# Qt5
requires "https://github.com/seaqt/nimqml-seaqt",
  "https://github.com/seaqt/nim-seaqt#qt-5.15"

# Qt6
requires "https://github.com/seaqt/nimqml-seaqt",
  "https://github.com/seaqt/nim-seaqt#qt-6.4"
nimble install https://github.com/seaqt/nimqml-seaqt

Examples

The examples can be built by executing the following command

nimble buildExamples

Documentation

The project documentation can be read here

Differences compared to nimqml

  • Simplified build system - no separate DOtherSide library, build, cmake etc. Qt is located using pkg-config and the wrappers are built as part of the application using {.compile.} pragmas
  • Excellent metaobject integration - metadata for introspection is generated at compile time using the same binary format as moc, leading to a "native-like" metaobject experience, with excellent tooling integration and performance.
  • Access to all of Qt - seaqt bindings are generated from the Qt source code giving access a wide range of libraries and utilities.

See this upsteam issue for more information - any code developed for this fork is put in the public domain in the hope that it will be useful and potentially integrated by the upstream project.

About

`nimqml` fork using `seaqt` as backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •