Hi,
I am on win xp/Qt4.1.3
I have a few labels on my mainwindow and on press i have to launch few apps.
Here is my code
{
if( !process.startDetached(appPath) ){
}
}
void IconLabel::mousePressEvent(QMouseEvent *)
{
QProcess process;
if( !process.startDetached(appPath) ){
QMessageBox::warning(this,QString(),tr("Cannot launch app"));
}
}
To copy to clipboard, switch view to plain text mode
While C:/WINDOWS/system32/notepad.exe launches correctly C:/Program Files/KDE PIM/kapi_me.exe does not lauch. But when I double click on the exe it works fine.
Any ideas why this is not working ?
Thanks a lot
Bookmarks