Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error while opening old project on Qt creator
I am working on project and I need to run some Qt files which were created 7 years ago .
I have Qt creator version 5.11.2. It includes mingw3_32, msvc2015, msvc2015_64 ans Src files.
The project file includes these file extensions ".pro", ".pro.user", ".pro.user.2.1pre1", ".pro.user.2.2pre5", ".cpp", ".h", ".ui", "makefile".
When I run the project I am taking different errors like "INTERNAL: readdir: No such file or directory. Stop.", "Error while building/deploying project ArduinoGUI (kit: Desktop Qt 5.11.2 MinGW 32 bit). When executing step 'qmake'. "
I made research about this problems but no solution worked.
(I don't know is it matter the project created maybe on 32 bit computer and I am using 64 bit one.)
Another question is I am using Windows 10 and I can't find the qt creator program, I can't find the folder icon.
It is very important and I kindly request your answers. Thank you all.
Can you remove all the .pro.user files and then try open the project. Which platform you are seeing the issue ? what was the old version of Qt ? 4.7.x ?
This post is deleted!
This post is deleted!
@dheerendra I tried but it didn't work unfortunately. I don't know the exact version but one of file includes this info "Created: Mon Jun 27 23:50:49 2011 by: The Qt Meta Object Compiler version 62 (Qt 4.7.2)". Thanks to your reply.
First of all: can you create new Qt projects, build and run them?
If that works, you should be able to open your old project. as already said, the .user files should be deleted. same applies for Makefile, it will be created from .pro file.
if that works, you can either install an old Qt4 version or upgrade your project to Qt5 (recommended). That is a bit work, but pays back in the long run.
I don't know the exact version but one of file includes this info "Created: Mon Jun 27 23:50:49 2011 by: The Qt Meta Object Compiler version 62 (Qt 4.7.2)"
I guess it has file name like moc_*.cpp? If so delete all such files - they are generated when you build your project.
are generated when you build your project.
I took help from my teacher and he said same thing. He deleted moc files and made some other changes. So now it works. Thank you very much for your answers.