//mac qt能够运行
#ifdef Q_OS_MAC
qDebug()<<QSysInfo::MacintoshVersion;
#endif
//Mac不运行
#ifndef Q_OS_MAC
qDebug()<<QSysInfo::MacintoshVersion;
#endif
//Windows qt会运行
#ifndef Q_WS_WIN
#endif
//Windows qt不会运行
#ifndef Q_WS_WIN
#endif
#if defined (Q_OS_WIN) 应该能够再两个系统通用