fixed #error C++ headers must be first rather C

solved and fixed #7  fixed #error qmetatype.h must be included before any header file that defines Bool