Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

dependent ... does not exist.



  • Hi. I'm using QT Creator 5.5.0 on Windows 7. I I'm having this error: "dependent ....\dir\file.cpp does not exist."
    I have erased all the references to file.cpp in all the *.pro and *.pri. I've made QMake, Clean, but not success. The same error still raise. I don't know where can be a reference to file.cpp.


  • Lifetime Qt Champion

    Hi,

    One other thing to do, delete the shadow build folder.



  • I had the same error message. Deleting the shadow folder didn't fix it for me, but what did was to recreate the project from scratch and add all the files to it.


Log in to reply