4

I checked out a Qt project hosted on google code with SVN to a local folder. When I opened it on Qt Creator, it managed to compile the project, but when it tried to run the compiled program, an error message came up on the application output:

The process could not be started!

What is wrong?

1
  • I assumed it belonged to superuser, since the problem itself didn't involve programming. Commented Mar 8, 2010 at 11:17

2 Answers 2

3

I solved this problem by going to projects>run settings and manually specifying the executable. Found this solution by googling, don't know if it's the proper way to fix this.

Sign up to request clarification or add additional context in comments.

1 Comment

I sometimes have a similar problem. When it occurs, I delete the *.pro.user file, reopen the project and Qt creator suggests the user to recreate a .pro.user file with default values and this works fine for me.
0

I assume you tried to run it manually and not from the IDE by pressing Ctrl+R, and I assume that it works when you're running it from the IDE. If that's the case, the problem is that the compiled application requires the Qt libraries and the runtime loader can't find them. When deploying the app, you need to copy the Qt libraries it links against to the application folder (on Windows), or you need to copy them to the app directory and launch it via a wrapper script which adds that directory to LD_LIBRARY_PATH (on Linux.)

1 Comment

The error message came up when I tried to run the program within Qt creator. I solved this problem by going to projects>run settings and manually specifying the executable. Found this solution by googling, don't know if it's the proper way to fix this.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.