[Qt-interest] QProcess and startDetached
Benjamin Sonnemann
b.sonnemann at gmail.com
Sat Mar 7 10:35:19 CET 2009
Hi,
i am new to qt and i got a problem with following code:
QList<QFileInfo> items;
.....
QFileInfo fi= items[item.row()];
if(!fi.isDir()){
if(!QProcess::startDetached(fi.absolutePath())){
QMessageBox::question(
QApplication::activeWindow(),
"Huh?",
"Sth went wrong :(",
QMessageBox::Yes,
QMessageBox::No
);
}
}
its developed under windows and items is filled with "*.exe" files, but
startDetached always returns false. Did i miss something?
The os is windows Vitsa and i have read/write access to the files.
Benjamin Sonnemann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090307/75a72270/attachment.html
More information about the Qt-interest-old
mailing list