This happens even on a freshly created, empty project.
The Run (and also Debug) buttons are disabled for the Qt5 configuration (they're enabled for the Qt4 configuration). The build button is not disabled, however, and it works - I can build the project, but I can't run it from Qt Creator.
They are disabled in the Build menu as well. Everything is enabled and works fine for the Qt4 configuration, however.
It's a Qt/C++ project, on Windows 7 (32-bit).
Edit:
I found a couple of related questions - RUN button no enable in QtCreator for QML project and http://qt-project.org/forums/viewthread/15737, but they have slightly different circumstances, and they don't show a clear solution. I'm posting them in case they help, though.
Edit 2:
I checked the run configuration for Qt5, as suggested by @Blueman and @Fabian, and the executable field is empty (and also disabled), even though the Build configuration correctly specifies the path. Moreover, I get this error - "The .pro file untitled2.pro could not be parsed." Here's a screenshot:
The build button is not disabled, however, and it works - I can build the project, but I can't run it from Qt Creator. They are disabled in the Build menu as well. Everything is enabled and works fine for the Qt4 configuration, however. It's a Qt/C++ project, on Windows 7 (32-bit).
The run settings to specify depend on the type of the project and on the kit that you build and run the project with. Qt Creator automatically creates run configurations for your project. To view and modify them, select Projects > Build & Run > Run.
I'm on a Kubuntu 11 system and trying out my first Qt Quick project. As this is Kubuntu I'm just running with the Qt that came with it, which has worked fine so far. I asked Qt Creator to create the sample "Hello World" project from Qt Quick. But the design button was grayed out, as were the run buttons.
When you run the application, Qt Creator copies the files to the connected device. The run settings display the path to the executable file on the development host and on the device.
I just encountered a similar issue with the AUR package of the Qt Creator on arch linux.
The solution was to download the original installer from the qt website and execute the .run file (After you made it executable):
https://www.qt.io/download
You are welcome :)
Try to change or add the startup configuration, it will help to update the paths and settings. You now:
Run configuration: untitled-2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With