Hi,


I am trying to embed PPTViewer application in QAxWidget but it is showing blank .plz help here is my code...

QString nPath;
nPath = QFileDialog::getOpenFileName(this,"select PPT files",qApp->applicationDirPath(),"*.ppt *.pptx");

QAxWidget *m_pAxWidget = new QAxWidget(this);
if(!m_pAxWidget->setControl("PowerPoint.Application"))
{
QMessageBox::critical(this, trUtf8("Error PPT"), "Install Microsoft Power Point (R) for support PPT!");
}
ui->gridLayout->addWidget(m_pAxWidget);
m_pAxWidget->setControl(nPath );