[SOLVED] QtCreator: where is Qt4ProjectManager.Target.DesktopTarget set?
I’m getting an error from QtCreator.“No tool chain available for invalid Qt version used in ‘Qt4ProjectManager.Target.DesktopTarget’.”
I have checked the documentation and find no mention of the error nor can I figure out where ‘Qt4ProjectManager.Target.DesktopTarget’ is set. I haven’t found any information on this in documentation and it doesn’t appear to be something stored in the config files.
I’ve checked the QtVersions tab and that looks correct. How do I find out what ‘Qt4ProjectManager.Target.DesktopTarget is currently set so?
Qt4PM.T.DesktopTarget is the internal name for the Desktop target.
If you get that message on the console where you started Qt Creator, then this basically means that you have referenced a Qt Version in your project configuration that no longer exists (invalid Qt version). This Qt version targeted the desktop (the Qt4PM.T.DesktopTarget part says so).
Of course since the Qt version is no longer there Creator will not know which tool chain to pick to build code for it (the “No tool chain available” part).
The message is mostly there to help with development. You can safely ignore it if your project opens fine otherwise.