Does someone know where to download an old QtSdk for version 4.7.4 bundled with a MigGW complier that works with it?
-
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.
-
According to the filename 'qt-opensource-windows-x86-mingw482-4.8.7.exe' you will need MinGW 4.8.2 (=gcc 4.8.2)
-
@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.
-
@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/
-
Sadly, No luck. I'm getting:
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?