Project not running..
-
I make a project in qt which was earlier working fine and running smoothly but now whenever I tried to run it it only builds and when I build again it just shows the build complete but no "Actual building progress bar processing at the bottom right corner" it just showed the build and that's it.
take a look at this picture, this is what I'm talking about. just build but not run. I haven't actually change anything just remove some comments that I made for myself.
-
@JonB said in Project not running..:
Look at the error message! I can see a
...build-D:UISorting...
in the middle of the path,:
is not allowed in a path name under Windows (only in theD:\...
at the start), so you have a problem with the name you have picked somewhere.I've seen Qt Creator act strangely and choose bad build directories; it's not necessarily the user's fault. I haven't figured out how to reproduce it reliably yet.
@Aahi: Close Qt Creator, delete your *.pro.user file, then open Qt Creator again. Press [Ctrl]+O, select your project, and configure it again. Ensure that the build folders are good. Does it build correctly now?
-
Hi,
Which Qt version ?
Which Qt Creator version ?
On which OS ?
Did you try to delete the build folder to start from scratch ?
Do you have the same issue with a new project ? -
The red color of the Build progress indicator indicates that there's a build problem.
Do you see anything printed in the 'Compile Output' pane?
-
@kkoehne Sorry I am replying to you very late as I was busy in University exams but here is the screenshot of compile output pane that's appear when I click on run
I got the error "Error while building/deploying project Sorting (kit: Desktop Qt 6.2.2 MinGW 64-bit)
When executing step "qmake""what does this mean?
-
@JonB said in Project not running..:
Look at the error message! I can see a
...build-D:UISorting...
in the middle of the path,:
is not allowed in a path name under Windows (only in theD:\...
at the start), so you have a problem with the name you have picked somewhere.I've seen Qt Creator act strangely and choose bad build directories; it's not necessarily the user's fault. I haven't figured out how to reproduce it reliably yet.
@Aahi: Close Qt Creator, delete your *.pro.user file, then open Qt Creator again. Press [Ctrl]+O, select your project, and configure it again. Ensure that the build folders are good. Does it build correctly now?