Fixed Qt Bug with newer Boost versions

Bug in QT MOC so boost includes only if not inside MOC run