Qt has nothing to do with it. This a line from stdint.h :
Qt Code:
  1. typedef unsigned char uint8_t;
To copy to clipboard, switch view to plain text mode 
You do not link the correct library.