Hello,
I'm obviously missing something. I'm trying to learn QProcess and it's not working.
I'm running on Windows Xp.
Here is my program:
#include <Qtcore>
int main()
{
QString x = "C:/Program Files/Windows NT/Accessories/WORDPAD.EXE";
QProcess::startDetached(x);
}
I've also tried:
QString x = "C:\\Program Files\\Windows NT\\Accessories\\WORDPAD.EXE";
Doesn't work either. Simple, right? So, what am I missing? I can't seem to launch any other program either.
I can run this same program from the command prompt.
- Bruce
Bookmarks