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

error: No rule to make target needed by .... stop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.7.2, Qt Creator 2.8.0
    • None
    • Windows XP Sp3 QT Creator 2.8.0, 2.7.2 and QT 5.1.0

      When I try to build any qt project using qt creator I am getting "error: No rule to make target needed by .... stop" message and build stopped.

      Example Scenario:
      Create a project xyz in folder xyz.

      After creating the project and added forms, creating new files etc.

      Try to build, "error: xyzmain.cpp No rule to make target needed by .... stop." will be displayed.

      please note actual file path is xyz/main.cpp but the error shows without slash (/)like xyzmain.cpp.

      Many times I am facing this problem.

      If I change the project directory, delete .pro.user file and rebuild the new project it will work perfectly.

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

            hunger Tobias Hunger
            sip umasankar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes