Add proper cxxflag for c++11

QMake build system only, CMake already supported
Proper includes for QtWidgets

QMake build was failing