Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33134

Meson Project Must Be Manually Configured Before Build

    XMLWordPrintable

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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            nessajhu Hu Junhao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes