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. Error while opening old project on Qt creator

Error while opening old project on Qt creator

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 3.2k Views
  • 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.
  • M Offline
    M Offline
    melis
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      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 ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      M 2 Replies Last reply
      0
      • M Offline
        M Offline
        melis
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • dheerendraD dheerendra

          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 ?

          M Offline
          M Offline
          melis
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • dheerendraD dheerendra

            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 ?

            M Offline
            M Offline
            melis
            wrote on last edited by
            #5

            @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.

            aha_1980A jsulmJ 2 Replies Last reply
            0
            • M melis

              @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.

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @melis

              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.

              Qt has to stay free or it will die.

              1 Reply Last reply
              0
              • M melis

                @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.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @melis said in Error while opening old project on Qt creator:

                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.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                M 1 Reply Last reply
                1
                • jsulmJ jsulm

                  @melis said in Error while opening old project on Qt creator:

                  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.

                  M Offline
                  M Offline
                  melis
                  wrote on last edited by
                  #8

                  @jsulm said in Error while opening old project on Qt creator:

                  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.

                  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