c++ - Run button is disabled in Qt Creator -


this happens on freshly created, empty project.

the run (and debug) buttons disabled qt5 configuration (they're enabled qt4 configuration). build button not disabled, however, , works - can build project, can't run qt creator.

they disabled in build menu well. enabled , works fine qt4 configuration, however.

it's qt/c++ project, on windows 7 (32-bit).

enter image description hereenter image description here

edit:

i found couple of related questions - run button no enable in qtcreator qml project , http://qt-project.org/forums/viewthread/15737, have different circumstances, , don't show clear solution. i'm posting them in case help, though.

edit 2:

i checked run configuration qt5, suggested @blueman , @fabian, , executable field empty (and disabled), though build configuration correctly specifies path. moreover, error - "the .pro file untitled2.pro not parsed." here's screenshot:

enter image description here

i installed qtcreator 2.8.1 test purposes , compile project qt4.8.6 , qt5.3

result same your, there disabled run button qt5 configuration , parse problem .pro file. probably it's bug.

my suggestion change qtcreator latest version (everything works fine me).

you don't have reinstall whole qt environment, install last qtcreator (link). separate application can use old 1 if needed.

only problem new installation (by default) use same localization of settings old one. may cause problem.

i solved changing default path of settings new installation. after installation (don't run !) create on desktop (or somewhere else) shortcut application, right click -> properties. under shortcut tab, see area says target, add @ end:

-settingspath path

where path place setting placed.

for me look:

c:\qt\tools\qtcreator-2.8.1\bin\qtcreator.exe -settingspath c:\qt\tools\qtcreator-2.8.1\settings

if new installation don't recognize both qt version , don't know how add - ask, add additional description.

[edit]

i found related question, same problem, update of qtcreator solution.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -