mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-07 10:14:41 +00:00
With this change we can reuse the slots for adding slots, properties and signals for QObject for all DynamicQObject subclasses.
DOtherSide
THIS IS UNSTABLE AND ALPHA SOFTWARE
Description
Qml bindings for both D and Nim programming languages
Documentation
The documentation for the Nim programming language can be read here.
For the D programming language is an on going project and pull request are accepted.
Requirements
You need the following software:
- Qt 5.3
- dmd 2.065
- gcc 4.8 or later with c++11 support
- nim 0.10.2
Build Instructions
- Open a shell terminal inside the cloned repo
- mkdir build && cd build
- cmake ..
- make
Install Instructions
For the C++ bridge:
- Copy the libDOtherSide.so from the build dir to your system lib i.e /usr/lib
For NimQml use the Nimble package manager:
- Open a shell and navigate to the NimQml subdirectory
- Type: nimble install
- Now you can use it in your .nim files
Supported features:
- Creation of custom QObject and inject in a qml QtQuick view (both Nim and D)
- Slot and Signal creation for the following types int, bool, string (both Nim and D)
- Creation of properties for databinding (both Nim and D)
Description
Languages
C++
72.5%
C
18.9%
Objective-C++
5.2%
CMake
1.6%
QML
1.2%
Other
0.6%