Details
-
Task
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
-
None
-
All
Description
As a newcomer to Qt Creator plugin development, I'm starting with the MesonProjectManager. I created a new Meson project and attempted to run it immediately. However, the operation failed with the error:
"ERROR: Current directory is not a meson build directory: xxx. Please specify a valid build dir or change the working directory to it. It is also possible that the build directory was generated with an old meson version. Please regenerate it in this case."
The error disappeared only after I manually performed the Configure step. This behavior is confusing. Is there no mechanism to detect whether a Meson project has been configured?
Suggestion: Wouldn't it be better if we could detect if the project has been configured? If it hasn't, attempting to run/build should automatically trigger the Configure step.