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. How to find QT version from project files?
QtWS25 Last Chance

How to find QT version from project files?

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 1.1k 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.
  • A Offline
    A Offline
    Avet
    wrote on last edited by
    #1

    Not an experienced QT user. I had created an application using QT 5.1 (I think) and it worked fine. However, my computer crashed recently and had to be wiped. Luckily I had my project files backed up but I am unsure of what version and compiler settings I had when I first made the project. I have re-installed different versions of QT but it still won't let me build the project.

    How can I find the correct version to install from existing files?

    JoeCFDJ C 2 Replies Last reply
    0
    • A Avet

      Not an experienced QT user. I had created an application using QT 5.1 (I think) and it worked fine. However, my computer crashed recently and had to be wiped. Luckily I had my project files backed up but I am unsure of what version and compiler settings I had when I first made the project. I have re-installed different versions of QT but it still won't let me build the project.

      How can I find the correct version to install from existing files?

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @Avet Linux or Windows? QT 5.1 is an ancient version. Try to use 5.15.3 or above?

      A 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @Avet Linux or Windows? QT 5.1 is an ancient version. Try to use 5.15.3 or above?

        A Offline
        A Offline
        Avet
        wrote on last edited by Avet
        #3

        @JoeCFD Windows. Right now I have QT Creator 8.0.1 installed. I added the project to QT but i'm running into issue while trying to select a compiler

        JoeCFDJ 2 Replies Last reply
        0
        • A Avet

          @JoeCFD Windows. Right now I have QT Creator 8.0.1 installed. I added the project to QT but i'm running into issue while trying to select a compiler

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • A Avet

            @JoeCFD Windows. Right now I have QT Creator 8.0.1 installed. I added the project to QT but i'm running into issue while trying to select a compiler

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #5

            @Avet Try to install Qt5.15.3 or Qt6.5 in your machine first. Then add it to QtCreator. QtCreator does not have the Qt kit.

            download online installer
            https://download.qt.io/official_releases/online_installers/qt-unified-windows-x64-online.exe
            to install Qt5.15.3 or Qt6.5 in your machine.

            1 Reply Last reply
            0
            • A Avet

              Not an experienced QT user. I had created an application using QT 5.1 (I think) and it worked fine. However, my computer crashed recently and had to be wiped. Luckily I had my project files backed up but I am unsure of what version and compiler settings I had when I first made the project. I have re-installed different versions of QT but it still won't let me build the project.

              How can I find the correct version to install from existing files?

              C Offline
              C Offline
              ChrisW67
              wrote on last edited by
              #6

              @Avet Ignore your project and install a tool chain and Qt that works with Qt 5.15.x on a simple Hello World program. Until this step is good there not much point continuing. @JoeCFD points the way here.

              Most Qt 5.x programs will build with minimal change against Qt 5.15.x, so you should use this version if at all possible.

              If your backup includes blah.pro and a matching blah.pro.user then you should rename (remove) the blah.pro.user before opening the blah.pro file in your new Qt Creator. The old blah.pro.user file contains Project Settings and related information generated by the earlier Qt Creator for the previous environment. You will essentially recreate this file in your new environment.

              You can read the blah.pro.user XML file to see what the old Project configurations were if you absolutely must.

              A 1 Reply Last reply
              1
              • C ChrisW67

                @Avet Ignore your project and install a tool chain and Qt that works with Qt 5.15.x on a simple Hello World program. Until this step is good there not much point continuing. @JoeCFD points the way here.

                Most Qt 5.x programs will build with minimal change against Qt 5.15.x, so you should use this version if at all possible.

                If your backup includes blah.pro and a matching blah.pro.user then you should rename (remove) the blah.pro.user before opening the blah.pro file in your new Qt Creator. The old blah.pro.user file contains Project Settings and related information generated by the earlier Qt Creator for the previous environment. You will essentially recreate this file in your new environment.

                You can read the blah.pro.user XML file to see what the old Project configurations were if you absolutely must.

                A Offline
                A Offline
                Avet
                wrote on last edited by
                #7

                @ChrisW67 okay thanks, I will try this

                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