Results 1 to 2 of 2

Thread: No rule to make target error

  1. #1
    Join Date
    Dec 2018
    Posts
    9
    Thanks
    7
    Qt products
    Qt5
    Platforms
    Windows

    Default No rule to make target error

    Below is the error I'm currently having. I have already tried clean all and run qmake but it doesn't seem to work tho.

    :-1: error: No rule to make target '../GameOfWar/images/backCard.jpg', needed by 'debug/qrc_images.cpp'. Stop.

    the attachment below has all the codes for the program....It's a bit lengthy.

    Any advice?
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,424
    Thanked 262 Times in 257 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: No rule to make target error

    In images.qrc You have a line :
    Qt Code:
    1. <file>images/backCard.jpg</file>
    To copy to clipboard, switch view to plain text mode 
    but backCard.jpg is located in backCard dir (next line in qrc file).

  3. The following user says thank you to Lesiok for this useful post:

    Kuushie118 (1st February 2019)

Similar Threads

  1. Replies: 2
    Last Post: 7th February 2017, 12:03
  2. No rule to make target error while building for Android
    By Awareness in forum Installation and Deployment
    Replies: 1
    Last Post: 23rd December 2013, 03:08
  3. :-1: error: No rule to make target
    By quakig in forum Newbie
    Replies: 1
    Last Post: 8th December 2013, 01:16
  4. :: error: No rule to make target
    By kurrachow in forum Newbie
    Replies: 2
    Last Post: 15th March 2011, 14:33
  5. 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

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.