code programming qt

CMake build for QExtSerialPort for all those lonely cross-platform Qt4 projects

rect6492So QSerialPort only became part of Qt core on Qt5.1, but what should all those Qt4 projects do for an easy serial port access?
There is the excellent QExtSerialPort project, but it only has a QMake build system, and I like CMake!
Not to worry, a CMake build is easy to set up…

code ffmpeg

Finding FFMPEG with CMake

I haven’t found a CMake module to find FFMPEG libraries, so I wrote one (a while back) and I thought to share it.
It will look very hard in order to find it on *nix and Win all the same, and I found it useful.
Get the gist: