PDA

View Full Version : open an application



adamatic
3rd April 2009, 12:08
Hello.

How can i open a program from my qt code? I want to open a .mdb file with the Acces Application.

I was opening the file with QFile open() but this is not opening the Access Application.

Thank you in advance.

Ginsengelf
3rd April 2009, 12:14
Hi, have a look at QProcess.

Ginsengelf

talk2amulya
3rd April 2009, 12:33
perhaps this will also work:


QDesktopServices desk;
desk.openUrl(QUrl("file://path_to_mdb_file"));