qmake make
To run on macOS I had to include the build path for openpnp-capture:
> DYLD_LIBRARY_PATH=../build ./QtCaptureTest