Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Does someone know where to download an old QtSdk for version 4.7.4 bundled with a MigGW complier that works with it?

Does someone know where to download an old QtSdk for version 4.7.4 bundled with a MigGW complier that works with it?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt4oldcompilecompatibility
5 Posts 2 Posters 641 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.
  • C Offline
    C Offline
    Curtwagner1984
    wrote on last edited by
    #1

    Good day everyone,
    As I described in other posts I've inherited an old project that works with Qt version 4.7.4.

    I pulled it from source control and tried to compile it with a Qt version 4.7.4 downloaded from here: https://download.qt.io/archive/qt/

    And MinGW 4.4 downloaded from here

    I managed to get the the project to compile, however it crushes before even reaching the main function.
    I've searched online and people say this is a symptom of a badly installed complier or a version incompatibility between Qt and the complier.

    In this page that list the MinGW compliers that are compatible with various Qt versions, Versions older than 4.8 don't exist.

    I suspect that my 4.4 MinGW complier is not old enough.

    I have another computer where the project complies and runs fine. When I look at the settings, it has QtSKD installed. And it seems that the SDK has a complier and Qt bundled together. (Which is not the case for the link I put above for Archived Qt installations).

    The fact that the same code complies and runs fine there leads me to believe that the version there is correct.
    Does anyone know where to find this SDK?

    The path to QMake on that computer looks like this:
    Qmake:c:\qtsdk\desktop\qt\4.7.4\mingw\bin\qmake.exe
    ComplierPath: c:\qtsdk\mingw\bin\mingw32-g++.exe

    And this is how it looks on my computer where the build fails:
    Qmake:C:\Qt\4.7.4\bin\qmake.exe
    Complier: C:\MinGW4.4\bin\g++.exe

    Meanwhile I can just copy paste the folders from that computer to my computer and see if it works. But this feels like not a really good idea.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      According to the filename 'qt-opensource-windows-x86-mingw482-4.8.7.exe' you will need MinGW 4.8.2 (=gcc 4.8.2)

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • C Offline
        C Offline
        Curtwagner1984
        wrote on last edited by Curtwagner1984
        #3

        @Christian-Ehrlicher said in Does someone know where to download an old QtSdk for version 4.7.4 bundled with a MigGW complier that works with it?:

        According to the filename 'qt-opensource-windows-x86-mingw482-4.8.7.exe' you will need MinGW 4.8.2 (=gcc 4.8.2)

        Hello, Thanks for the fast reply.

        My version of Qt is 4.7.4 (At least this is the version of Qt in which the project works in the other computer).
        This is the actual link I downloaded from is this https://download.qt.io/archive/qt/4.7/qt-win-opensource-4.7.4-mingw.exe
        Does it mean I need MinGW version 4.7.4 ?

        Do you know perhaps where I can find this version of MinGW?

        EDIT: I thought 4.7.4 refers to the Qt version.

        Christian EhrlicherC 1 Reply Last reply
        0
        • C Curtwagner1984

          @Christian-Ehrlicher said in Does someone know where to download an old QtSdk for version 4.7.4 bundled with a MigGW complier that works with it?:

          According to the filename 'qt-opensource-windows-x86-mingw482-4.8.7.exe' you will need MinGW 4.8.2 (=gcc 4.8.2)

          Hello, Thanks for the fast reply.

          My version of Qt is 4.7.4 (At least this is the version of Qt in which the project works in the other computer).
          This is the actual link I downloaded from is this https://download.qt.io/archive/qt/4.7/qt-win-opensource-4.7.4-mingw.exe
          Does it mean I need MinGW version 4.7.4 ?

          Do you know perhaps where I can find this version of MinGW?

          EDIT: I thought 4.7.4 refers to the Qt version.

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Curtwagner1984 said in Does someone know where to download an old QtSdk for version 4.7.4 bundled with a MigGW complier that works with it?:

          Does it mean I need MinGW version 4.7.4 ?

          I think yes

          Do you know perhaps where I can find this version of MinGW?

          Don't know - but should also work with gcc4.8 -> https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Curtwagner1984
            wrote on last edited by Curtwagner1984
            #5

            Sadly, No luck. I'm getting: qtcreator_ByKFQogjC7.png

            Maybe there are other factors that I didn't consider. Though it's better than how it was before, because before it didn't even show this message. It just crushed.

            EDIT: When I copied the complier and Qt version from the computer where it works, It successfully complied and runs. So the issue defiantly stems from incorrect versions of either the complier or qt. But the Qt version is 4.7.4 which is what I currently have, so I guess the problem is the complier.

            Is it possible to know what complier version I'm using just from the exe?

            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