[SOLVED] Error: Failed to start program. Path or permissions wrong?
-
Getting the following error:
Starting /opt/Qt5.0.2/5.0.2/gcc/bin/serialbutton...
Failed to start program. Path or permissions wrong?
/opt/Qt5.0.2/5.0.2/gcc/bin/serialbutton exited with code -1The compiler output shows:
16:01:34: Running steps for project serialbutton...
16:01:34: Configuration unchanged, skipping qmake step.
16:01:34: Starting: "/usr/bin/make"
make: Nothing to be done for `first'.
16:01:34: The process "/usr/bin/make" exited normally.
16:01:34: Elapsed time: 00:00.I've tried the solutions suggested in the earlier discussions.
Still, haven't been able to get rid of this error.Please help.
-
Hi and welcome to devnet,
Are you sure that your application should go in "/opt/Qt5.0.2/5.0.2/gcc/bin/" ?
That doesn't look like a normal destination folder when building an application.
-
What does it show in the build panel under Build Directory ?
-
I would guess no write rights
Anyway, you should not use such path for project building. Have your code somewhere in your home directory and use the shadow build option from QtCreator, this way you'll be safe.
Sine it's all working now, please update the thread's title to solved so other forum users may know a solution has been found :)