What does QProcess::startDetached() return? Maybe you should create QCoreApplication instance before using QProcess?
What does QProcess::startDetached() return? Maybe you should create QCoreApplication instance before using QProcess?
I'm not sure whether this is related or not, but when I press F10 within the MSVC developer studio, it comes up with a message "This application has failed to start because QtGuid4.dll was not found. Re-installing the application may fix this problem."
But when I press F5 and run it to a breakpoint, it works.
- Bc
I figured out my own problem. In case someone else looks up this thread, you can't set a path in the input variable. It can only be a file NAME! No path. You must set the SetWorkingDirectory to the location of the executable and then call the start() with just the file name.
This is more of a Linux-ism.
Bookmarks