在文件中加入了这三个头文件
#include <qstring.h>
#include <qfile.h>
#include <qdir.h>
然后就出现了一堆类似下面的错误
/include/qt/qglobal.h:396: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FALSE’
include/qt/qglobal.h:397: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TRUE’
include/qt/qglobal.h: 在函数 ‘qRound’ 中:
include/qt/qglobal.h:422: 错误:expected expression before ‘int’
include/qt/qglobal.h: 在顶层:
include/qt/qglobal.h:454: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘QDataStream’
这种错误是怎么回事?
[ 此贴被XChinux在2006-12-24 10:49重新编辑 ]