Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] Qt Creator Run button disabled
the run button of Qt Creator is disabled. I tried to find some options that would solve the problem but I "Build & Run" options don't seem to have something that would've triggered the problem.
I downloaded Qt Creator separately, and I'm using different versions of Qt that I compiled on my own.
Your project needs to be configured. Either remove .pro.user file from your project folder, or go into project options and see if it is configured.
thank you for your reply. I did remove the .pro.user file, and I still face this problem. I tried many different projects and they all yield the same problem.
Can you please explain what part of the Project Options has to be "configured"? The word "configured" is very general and isn't clear for me.
In that case something else must be wrong. By "configure" I mean that a fresh project added to Qt creator will automatically prompt you to configure it: it is a button clearly visible in the Projects pane, and it is enough to just click it. But if deleting .pro.user and reconfiguring, I think something else is going on.
Have you changed anything in your setup lately? Do all Kits contain a compiler and Qt version?
The compilation is OK. I have VS2010 and VS2012 and I have Qt 4.8.5 and 5.2 for both VS versions. All this works with no problems, but run button is disabled. What I did recently is compile those Qt versions from sources and add them to Qt Creator, which is independent of the Qt sources.
Following is an example of the Qt versions I use.
Qt 5.2.0 (Qt5.2.0_32_VS2010_static)
Did you update Qt Creator to 3.0.0 ? That version is needed to run 5.2.0
I didn't know that existed. I'll update and inform you. Thanks.
Thank you for the suggestion. Installing Qt 3 solved the problem.
Qibiron Who last edited by
This Issue seems quite old, for anyone who just wanna bring their Qt Creator back to work, here is some tricks I learned from somewhere else, share with you.
Qt Creator Version: 4.11.0 Based on Qt 5.14.0
[quick solution]: right click <sources> folder under project tree, add some random file. After that the "Run" button activated again, this is definitely a Qt Creator bug.
The reason I come up with this Bug is: I added created new subproject for unit test, and I delete or remove it somehow, and the run button just not working anymore, even after I restart the Qt Creator, until I found the trick above somewhere in youtube.
I hope it helps any single one who is struggling.