Qt/C++的类成员函数种需要使用c头文件定义的close 函数时需要加上::作用域符号.如: ::close() ;不然会报错:too many arguments to funcition call,expected 0,have 1;