cmake: build qcustomplot as static lib and fix windows build
fix qt5 build
plot: only allow X column to be selected once
qmake: Avoid 'double linking' of qcustomplot library