两种方法(qt sdk 都包含了这些文件,不是第三方库):
1. 声明etel3rdparty.h;
pro文件中添加symbian:LIBS += -letel3rdparty \;
调用接口:
const char* aString = LabPhone->text().toAscii().data();//获取电话号码
#ifdef Q_OS_SYMBIAN
TBuf<20> aDescriptor;
stringToDescriptor(aString, aDescriptor);//转symbian描述符
iCallDialer = CCallDialer::NewL(*this, aDescriptor);
#endif
2.etel.h
…………