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.
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.
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.