我去看了。在tools->options->Qt4->qt versions中关于mingw的设置如下:C:\Qt\2010.02.1\mingw,应该没问题吧。可是编译时还是有错误。可是这回信息有改变:
C:/Users/phoenix/Desktop/test/../../../../Qt/2010.02.1/qt/include/QtCore/../../src/corelib/tools/qmap.h:50: from ..\..\..\..\Qt\2010.02.1\qt\include/QtCore/../../src/corelib/tools/qmap.h:50,
C:/Users/phoenix/Desktop/test/../../../../Qt/2010.02.1/qt/include/QtCore/qmap.h:1: from ..\..\..\..\Qt\2010.02.1\qt\include/QtCore/qmap.h:1,
C:/Users/phoenix/Desktop/test/../../../../Qt/2010.02.1/qt/include/QtCore/../../src/corelib/kernel/qvariant.h:49: from ..\..\..\..\Qt\2010.02.1\qt\include/QtCore/../../src/corelib/kernel/qvariant.h:49,
C:/Users/phoenix/Desktop/test/../../../../Qt/2010.02.1/qt/include/QtCore/qvariant.h:1: from ..\..\..\..\Qt\2010.02.1\qt\include/QtCore/qvariant.h:1,
C:/Users/phoenix/Desktop/test/../../../../Qt/2010.02.1/qt/include/QtCore/QVariant:1: from ..\..\..\..\Qt\2010.02.1\qt\include/QtCore/QVariant:1,
C:/Users/phoenix/Desktop/test/ui_mainwindow.h:13: from ui_mainwindow.h:13,
。。。。。
我的mingw应该设置对了吧(不是3.4.5了),但是为什么还是有40个错误呢?而且错误的内容都相同。。。