Skip to content
Interactive samples that use Blend2D & Qt
Branch: master
Clone or download
Latest commit 3725057 Apr 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tools Blend2D Beta Apr 2, 2019
.gitignore Blend2D Beta Apr 2, 2019
CMakeLists.txt Blend2D Beta Apr 2, 2019
README.md Updated README.md Apr 9, 2019

README.md

Blend2D - Interactive Samples Written with Qt

This repository contains few interactive samples that use Blend2D rendering engine together with Qt. It's expected (by default) that the directory structure is similar to the directory structure described in the Getting Started page.

Building

Use the following commands to fetch asmjit, blend2d, and these samples:

$ git clone --depth=1 https://github.com/asmjit/asmjit --branch next-wip
$ git clone --depth=1 https://github.com/blend2d/blend2d
$ git clone --depth=1 https://github.com/blend2d/bl-samples-qt

# Create build directory and build 'bl-samples-qt'.
$ cd bl-samples-qt
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release

After you have these 3 projects cloned use CMake to create your bl-samples-qt project, the rest should be handled automatically. Please note that if you want to compile and run these samples you need Qt library installed. CMake should be able to find Qt automatically if it's in PATH, alternatively use CMAKE_PREFIX_PATH to tell CMake where Qt is.

Alternatively you can pick a configure script from tools directory if there is a suitable one for your configuration.

Preview

Demo App Preview Demo App Preview
Demo App Preview Demo App Preview

License

All code samples (.cpp files) can be distributed under either Public Domain (UNLICENSE) or Zlib license.

Tiger data was extracted from amanithvg's tiger example so this data is not covered by the license.

You can’t perform that action at this time.