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

Qt Code:
  1. void IconLabel::mousePressEvent(QMouseEvent *)
  2. {
  3. QProcess process;
  4. if( !process.startDetached(appPath) ){
  5. QMessageBox::warning(this,QString(),tr("Cannot launch app"));
  6. }
  7. }
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