Hi all
i don't know why this code does not run. I want to open C:\PDF_Solution.doc file. But it seems that nothing happend
pls help me
thanks
#include <QtCore/QCoreApplication>
#include<QProcess>
int main(int argc, char *argv[])
{
Pr.
start("C:\PDF_Solution.doc",
QIODevice::ReadOnly);
Pr.waitForFinished(300);
return a.exec();
}
#include <QtCore/QCoreApplication>
#include<QProcess>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QProcess Pr;
Pr.start("C:\PDF_Solution.doc",QIODevice::ReadOnly);
Pr.waitForFinished(300);
return a.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks