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

No documentation for using Ninja with CMake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: Qt Creator 4.9.2
    • Fix Version/s: Qt Creator 4.10.0
    • Component/s: Documentation
    • Labels:
      None
    • Commits:
      b6487499260f19aacc7d39ae6d410c27109e53e7

      Description

      https://doc.qt.io/qtcreator/creator-build-settings.html#cmake-build-steps only says:

      Qt Creator builds CMake projects by running cmake . --build, which then runs run whatever is needed based on how the project was configured: make, mingw32-make, nmake, or ninja, for example.

      What it doesn't say is that to actually use Ninja, you need to:

      • Force the kit to use the Ninja generator.
      • Install Ninja. This one might be obvious to people familiar with the process, but I assumed it somehow would already be present if CMake was present.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-22889
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              leenam Leena Miettinen
              Reporter:
              mitch_curtis Mitch Curtis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes