Failed to start program. Path or permissions wrong?
-
Yes it is a project with 5 subfolders..
-
Since it's a subfolder project, how do you setup your DESTDIR variables ?
-
Thanks all of you for your answers. SGaist I will check tomorrow and tell you.
Thanks -
Hi
I had this problem in old versions of QtCreator. As far as I remember it's a bug, but is was supposed to be solved in latest version, I believe. Do a google search, you will find similar threads some wich are alreay solved. -
john_god john_god i didn't found something simillar
my project was created in qt 4.7 32(bit) and i am now running Qt 5.0 (64bit) if that can help..
thanks -
[quote author="clouca" date="1367907957"]john_god john_god i didn't found something simillar
my project was created in qt 4.7 32(bit) and i am now running Qt 5.0 (64bit) if that can help..
thanks[/quote]
Those are the versions of Qt lib. Qt creator has currently version 2.7. A Qt creator installed with Qt 4.7 is fairly old.
How did you install Qt 5? Which exact Qt5 version are you using? Did you replace also the Qt creator at that time? -
I use Qt Creator 2.7.0. Based on Qt 5.0.2. No i didn't replace anything, i moved to a new pc to startover the project.
-
as i have noticed i have wrong path. but in the correct path the executable does not exists. firstly how can i change the path ?
-
Where does that path come from ?
-
I don't know what to do i am desperated...
-
Do you set the DESTDIR in your pro files ? If yes where do they point to ?
Otherwise can you post (i.e. pastebin) your pro files ? So we can see if the problem lies with them or if we can eliminate that as a cause.
Did you take a look at the build panel to see where things are built ?
-
no i don't have DESTDIR but in my project there is SUBDIRS : which points to subdirectories.. maybe this is the problem ?
-
As I said before, without seeing anything from your project I can only make guesses.
If you really can't share anything. The only solution I see for you is to start from scratch a new project using the subdir template with only one sub directory that contains a project for a hello world app. Make it build and run and once that is good. Take one by one the pieces of your other project and integrate it in the one building and running until everything works.
-
What do you want to share from my project ?
-
As already mentioned, seeing the pro files could be useful
-
Ok.. just o moment to finish what i'm doing now..
-
I fixed the problem but i don't know how solved exactly.. I played with settings on kits...
-
I've run today into same problem.
It appears a bit weird.When this error occurs, the exe has the Windows' typical blue/yellow shield over the icon.
Interestingly, this can be changed only by changing the name of the executable in the .pro file(TARGET=).As a first assumption I would say: If it contains the name of one of the parent directories this problem pops-up.
I run QtCreator 2.4.1on Win7.
Any comment on this?
-
Did you stop your application before rebuilding ?
-
yes.
Actually, I've did rebuilds after each name change.
First I tought about 8 char name, but was not the case.
My structure is something like:
@E:\Develop
projects
Proj1
Proj2
Proj3
AstDistpatch
source
build-Debug
build-Release
Proj5
@When I used 'AstDispatch' or 'Ast-Dispatch' or 'AstDispatchX' the executable was marked with the shield.
If I named it AstDispatceh' it was ok.