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

Build File "..." does not work for projects configured with CMake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 7.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      MacBook Pro (M1), macOS 12.1, Apple clang version 13.0.0 (clang-1300.0.29.30)
    • Platform/s:
      macOS

      Description

      For projects configured with CMakeFile.txt instead of qmake, Qt Creator > Build > Build File "xxx.cpp" fails with

      make: *** No rule to make target `xxx.cpp.o'.  Stop.
      

      Is there a way to build individual source files for projects that have transitioned to CMake?

        Attachments

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

          Activity

            People

            Assignee:
            cadam Cristian Adam
            Reporter:
            paulmasri Paul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes