Qt Vs2012 The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro

今天用Qt 5.4 + VS2012编译一个项目报下面的错误:
The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro

解决方案:在qt 项目的XX.pro 文件中,加上DEFINES += _XKEYCHECK_H

1469

Leave a Reply

Name and Email Address are required fields.
Your email will not be published or shared with third parties.