Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dependant doesn not exist.

Dependant doesn not exist.

Scheduled Pinned Locked Moved General and Desktop
8 Posts 5 Posters 33.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xcoder
    wrote on last edited by
    #1

    Hello,

    I tried to change the location of my existing pictures in a sub-folder where are all the new pictures, and got this error:
    @
    Error: dependent 'new.png' does not exist.
    command failed with exit code 2@

    I updated all the paths in the qrc file, and checked every cpp file and again all the paths are corrected.

    Somehow, the compiler (builder) is looking for the pictures in their old location as well as the new one, if I copy the old images back where they were, everything compiles.

    Any ideas where the compiler stores the location of resources? I tried cleaning my project still the same problem.

    Only a biker knows why a dog sticks his head out of a car window.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xcoder
      wrote on last edited by
      #2

      I hate when this happens, just as I posted I checked the Makefile.Release and Makefile.Debug files, and saw that the paths weren't updated. I updated them by hand, now everything works, antway, shouldn't the paths have updated automatically?

      Only a biker knows why a dog sticks his head out of a car window.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rahul Das
        wrote on last edited by
        #3

        Even i had the problem. Yes, it is supposed to change. And the "bug":https://bugreports.qt-project.org/browse/QTBUG-13334 looks closed.


        Declaration of (Platform) independence.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          chatumao
          wrote on last edited by
          #4

          Just had the same problem. After deleting the whole output folder (a little crude, but effective), the error was gone. (QT5.2.0).

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            [quote author="chatumao" date="1394902959"]Just had the same problem. After deleting the whole output folder (a little crude, but effective), the error was gone. (QT5.2.0).[/quote]To update your Makefile, run qmake.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            2
            • C Offline
              C Offline
              chatumao
              wrote on last edited by
              #6

              Can I do that from within Creator?

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                [quote author="chatumao" date="1394932303"]Can I do that from within Creator?[/quote]Yes. "Build" -> "Run qmake"

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                2
                • L Offline
                  L Offline
                  lucaskane
                  wrote on last edited by
                  #8

                  [quote author="JKSH" date="1394932427"][quote author="chatumao" date="1394932303"]Can I do that from within Creator?[/quote]Yes. "Build" -> "Run qmake"
                  [/quote]

                  Thx

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved