Results 1 to 7 of 7

Thread: No rule to make target

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2006
    Location
    Mexico City
    Posts
    31
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: No rule to make target

    Coolname007:

    The original error "no rule to make target..." came from make, in your case mingw32-make. It was not Qt who signal that error nor the compiler. Your header file could not be reached by make, so it try to find a rule to make it, and obviously that rule didn't exist. You have to check your paths to the header file or there is a problem with make (mingw32-make). I think it's more probable that you make a mistake...

  2. #2
    Join Date
    Mar 2011
    Posts
    22
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4

    Default Re: No rule to make target

    Quote Originally Posted by arnaiz View Post
    Coolname007:

    The original error "no rule to make target..." came from make, in your case mingw32-make. It was not Qt who signal that error nor the compiler. Your header file could not be reached by make, so it try to find a rule to make it, and obviously that rule didn't exist. You have to check your paths to the header file or there is a problem with make (mingw32-make). I think it's more probable that you make a mistake...
    I wasn't saying it was Qt that was signaling the error. Obviously, that error came from make. What I was saying was, Qt Creator must be the one that caused it (or at least in the sense that it does not allow the project directory to be in another partition than Qt), because when you build or run a project through Qt Creator, you're not dealing with make directly. Instead Qt Creator deals with it for you.
    In regards, to checking my paths: I have already done so, and am 100% sure that they are correct, and like already mentioned, copying the project directory to the same partition as Qt, and then attempting to build the copied project through Qt Creator (WITHOUT modifying anything else) no longer produced that error. So that tells me it must be a limitation in Qt Creator.

    Now if you know otherwise, feel free to post about it.

Similar Threads

  1. How to change completion rule of QCompleter
    By freud in forum Qt Programming
    Replies: 8
    Last Post: 14th July 2021, 18:22
  2. building for symbian device error: No rule to make target `MAKEFILE_0XE587C205.MK'
    By alireza.mirian in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 5th January 2011, 19:40
  3. No rule to make target?
    By walsha3000 in forum Qt Programming
    Replies: 1
    Last Post: 2nd July 2010, 06:42
  4. What is the general rule for onX methods in Qt?
    By piotr.dobrogost in forum Qt Programming
    Replies: 8
    Last Post: 18th August 2009, 00:10
  5. mingw32-make : multiple target patterns error
    By tsemer in forum Installation and Deployment
    Replies: 2
    Last Post: 6th November 2007, 15:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.