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. Qt Creator "dependent "xxxx.cpp" does not exist."
Forum Updated to NodeBB v4.3 + New Features

Qt Creator "dependent "xxxx.cpp" does not exist."

Scheduled Pinned Locked Moved General and Desktop
4 Posts 4 Posters 10.2k 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    Hi,
    I am trying to compile a big project but my Qt Creator(3.0.0) instance is not finding the some files of the
    project while the previous versions worked just fine for the project.The issue pannel is throwing this error:

    @
    dependent "xxxx.cpp" does not exist.
    @

    I know this error is obvious but i double checked the file is in the proper location and my previous qt 4.8.1 setup with with Qt Creator 2.4.1 could build the project fine.

    Is there something specific on this version of Qt Creator that I am missing , or is it a good thing to try and use an old version of Qt Creator with the latest Qt libraries? Any help will be appreciated.
    Thanks.

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      You need Qt Creator 3.x to work with Qt 5.2, sorry. Qt changed a bit and we needed to adapt to those changes.

      Does this work when calling the relevant commands (qmake/make) on the command line? If that is the case, then it is a bug in Qt Creator. Otherwise it is a problem with the build system used.

      Is that dependent file in the shadow build or in the source directory? Some .pro-files managed to break shadow builds, so maybe you can try with a in-source build (and then fix the .pro-file if that is indeed the case!).

      1 Reply Last reply
      0
      • K Offline
        K Offline
        konkistadorr
        wrote on last edited by
        #3

        You should try to add :

         @ $$PWD/xxxx.xcpp@
        

        in front of the files you need, exemple :

        @SOURCES +=
        $$PWD/code/main.cpp
        $$PWD/qtquick2applicationviewer/*.cpp@

        Have a nice day,

        1 Reply Last reply
        0
        • W Offline
          W Offline
          wajiha
          wrote on last edited by
          #4

          I am receiving same issue does any solution worked for you? kindly inform me

          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