modify Registar.pro to make it cannot be complied on Windows, add macro Q_MOC_ON judgement to deal with Qt moc conflict with Boost