Library for interfacing with Basler Cameras from Qt5/QML programs
MPL-2.0 License
This project provides a Qt library and demo applicaction providing easy integration with Basler Vision Machines, through their Pylon Software Suite.
PS: Still a Work in Progress :)
The PYLON_ROOT
env variable is used by the build system
to configure Pylon module. So you must set it properly, for example:
$ export PYLON_ROOT=/opt/pylon5
If you haven't already, start by setting up a qt5 profile for qbs:
PS: Make sure that qmake is in PATH
$ qbs setup-toolchains --type gcc /usr/bin/g++ gcc
$ qbs setup-qt $(which qmake) qt5
$ qbs config profiles.qt5.baseProfile gcc
At the root dir of the project run:
$ qbs build profile:qt5
$ qbs run --products pylondemo
Add the following snippet to you higest-level Qbs file:
SubProject {
filePath: "path/to/qt-pylon/qt-pylon.qbs"
Properties {
withDemo: false
}
}