removed   #include <GL/glx.h> from Types.h as it caused clashes with Qt as it includes X.h which defines loads of things Qt hates, this took a while to find it all and why