添加 #include <QtCore/QtDebug> 后出现 HWND 重定义
为了添加提示信息,我就在.cpp文件中添加了 #include <QtCore/QtDebug>,结果提示错误:
1>c:\build\qt431\include\qtcore\../../src/corelib/global/qnamespace.h(215) : error C2365: 'HWND' : redefinition; previous definition was 'enumerator'
1> c:\build\qt431\include\qtcore\../../src/corelib/global/qnamespace.h(214) : see declaration of 'HWND'
看看是 qnamespace.h 中的错误……
如何办?
谢谢……