mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-08 02:33:37 +00:00
The D and Nim bindings have been moved to the DQml and NimQml repo
DOtherSide
Description
Qml bindings for both D and Nim programming languages
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)
- Subclassing of QAbstractListModels [both Nim and D)
Supported Platforms
Currently we support the following platforms/compilers:
- Linux both 32/64bit with gcc
- Windows 32/64bit with Visual Studio 2013 Community Edition
Change log
The project change log can be read here.
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.
Build Instructions and requirements
You need the following software:
- Qt 5.3 or higher
- dmd 2.065 or higher
- Linux: gcc 4.8 or later with c++11 support or higher
- Windows: Visual Studio 2013 Community Edition (Windows) or higher
- Windows: MingGW 4.9.2 or higher
- nim 0.10.3 or higher
Build instructions:
- Open a shell terminal inside the cloned repo
- mkdir build && cd build
- cmake ..
- make
Install Instructions
For the DOtherSide 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
Description
Languages
C++
72.5%
C
18.9%
Objective-C++
5.2%
CMake
1.6%
QML
1.2%
Other
0.6%