Which version of QT Creator to install for using MinGW 4.9.1
-
wrote on 18 Jun 2023, 10:29 last edited by
Hello,
I'm a student and new to QT, I'd like to use it to create a GUI of a C++ script I wrote and supported with MinGW 4.9.1.
I installed the latest version which didn't support it then I tended to try installing other versions like QT 5.4.1.
When I create a new project I don't get the impression that 'it is possible to use MinGW 4.9.1 in the kits offered, there is only 5.4.1 and when I click on "Manage" it is impossible to change the compiler to the desired version.
I hope I am in the right section. If someone can tell me if it is possible to use this version of MinGW for QT Creator because I cannot use other versions.
Thanks
-
Hello,
I'm a student and new to QT, I'd like to use it to create a GUI of a C++ script I wrote and supported with MinGW 4.9.1.
I installed the latest version which didn't support it then I tended to try installing other versions like QT 5.4.1.
When I create a new project I don't get the impression that 'it is possible to use MinGW 4.9.1 in the kits offered, there is only 5.4.1 and when I click on "Manage" it is impossible to change the compiler to the desired version.
I hope I am in the right section. If someone can tell me if it is possible to use this version of MinGW for QT Creator because I cannot use other versions.
Thanks
wrote on 18 Jun 2023, 11:13 last edited by JonB@beautifulcloud
Why would you want to use an old version of MinGW, it's not a thing to design your project around. And whatever you might already have can surely be moved without much hassle to a newer version.MinGW is now on v.11 and Qt is on 6.5. And Qt for Windows comes with a version of MinGW for you. I would strongly suggest you move to latest Qt/MinGW/Creator.
-
@beautifulcloud
Why would you want to use an old version of MinGW, it's not a thing to design your project around. And whatever you might already have can surely be moved without much hassle to a newer version.MinGW is now on v.11 and Qt is on 6.5. And Qt for Windows comes with a version of MinGW for you. I would strongly suggest you move to latest Qt/MinGW/Creator.
wrote on 18 Jun 2023, 12:10 last edited by@JonB As I said, my program was written with this version and cannot support newer versions, I need that MinGW 4.9.1 version to implement it into QT
-
Hello,
I'm a student and new to QT, I'd like to use it to create a GUI of a C++ script I wrote and supported with MinGW 4.9.1.
I installed the latest version which didn't support it then I tended to try installing other versions like QT 5.4.1.
When I create a new project I don't get the impression that 'it is possible to use MinGW 4.9.1 in the kits offered, there is only 5.4.1 and when I click on "Manage" it is impossible to change the compiler to the desired version.
I hope I am in the right section. If someone can tell me if it is possible to use this version of MinGW for QT Creator because I cannot use other versions.
Thanks
Hi, and welcome!
@beautifulcloud said in Which version of QT Creator to install for using MinGW 4.9.1:
I installed the latest version which didn't support it
What exactly isn't supported?
-
Hi, and welcome!
@beautifulcloud said in Which version of QT Creator to install for using MinGW 4.9.1:
I installed the latest version which didn't support it
What exactly isn't supported?
wrote on 18 Jun 2023, 14:08 last edited by beautifulcloudHello @JKSH
I mean I'm having trouble getting to grips with the software. I installed the latest version and I can't remember the error, I was recommended to use QT version 5.4.1 which supported MinGW version 4.9.1, I tried to focus on it and indeed the MinGW version I'm looking for is in the manual category. I still can't select it in the kits listed by QT Creator
I believe I'm lost
If I have the MinGW compiler of my wanted version separately, can I import it and run the latest version of QT Creator with it?
-
Hello @JKSH
I mean I'm having trouble getting to grips with the software. I installed the latest version and I can't remember the error, I was recommended to use QT version 5.4.1 which supported MinGW version 4.9.1, I tried to focus on it and indeed the MinGW version I'm looking for is in the manual category. I still can't select it in the kits listed by QT Creator
I believe I'm lost
If I have the MinGW compiler of my wanted version separately, can I import it and run the latest version of QT Creator with it?
@beautifulcloud said in Which version of QT Creator to install for using MinGW 4.9.1:
I was recommended to use QT version 5.4.1 which supported MinGW version 4.9.1, I tried to focus on it and indeed the MinGW version I'm looking for is in the manual category. I still can't select it in the kits listed by QT Creator
I believe I'm lost
If you download this: https://download.qt.io/new_archive/qt/5.4/5.4.2/qt-opensource-windows-x86-mingw491_opengl-5.4.2.exe you should find the following components. Make sure you select all 3:
- Qt Creator IDE (already selected by default)
- Qt 5.4.2 libraries for MinGW 4.9.1
- MinGW 4.9.1 compiler
After that, make sure you open the copy of Qt Creator that was installed by this installer.
If I have the MinGW compiler of my wanted version separately, can I import it and run the latest version of QT Creator with it?
Your own copy of MinGW 4.9.1 can be used with the latest Qt Creator. But it cannot be used with the latest version of Qt.
Note: Qt Creator IDE != Qt Libraries
I mean I'm having trouble getting to grips with the software. I installed the latest version and I can't remember the error,
If you come across any further errors, please copy it word-for-word (or post a screenshot). This will help us to identify the problem.
I strongly doubt that your old C++ project cannot be handled by a newer version of MinGW.
-
@beautifulcloud said in Which version of QT Creator to install for using MinGW 4.9.1:
I was recommended to use QT version 5.4.1 which supported MinGW version 4.9.1, I tried to focus on it and indeed the MinGW version I'm looking for is in the manual category. I still can't select it in the kits listed by QT Creator
I believe I'm lost
If you download this: https://download.qt.io/new_archive/qt/5.4/5.4.2/qt-opensource-windows-x86-mingw491_opengl-5.4.2.exe you should find the following components. Make sure you select all 3:
- Qt Creator IDE (already selected by default)
- Qt 5.4.2 libraries for MinGW 4.9.1
- MinGW 4.9.1 compiler
After that, make sure you open the copy of Qt Creator that was installed by this installer.
If I have the MinGW compiler of my wanted version separately, can I import it and run the latest version of QT Creator with it?
Your own copy of MinGW 4.9.1 can be used with the latest Qt Creator. But it cannot be used with the latest version of Qt.
Note: Qt Creator IDE != Qt Libraries
I mean I'm having trouble getting to grips with the software. I installed the latest version and I can't remember the error,
If you come across any further errors, please copy it word-for-word (or post a screenshot). This will help us to identify the problem.
I strongly doubt that your old C++ project cannot be handled by a newer version of MinGW.
wrote on 18 Jun 2023, 15:25 last edited by@JKSH
Thanks for your reply, I'll let you know. -
@JKSH
Thanks for your reply, I'll let you know.wrote on 20 Jun 2023, 12:55 last edited byHello,
I modified my code to solve errors related to new versions of MinGW and I installed QT 6, problem solved thank you
-
-
@JonB As I said, my program was written with this version and cannot support newer versions, I need that MinGW 4.9.1 version to implement it into QT
wrote on 20 Jun 2023, 13:58 last edited by@beautifulcloud said in Which version of QT Creator to install for using MinGW 4.9.1:
@JonB As I said, my program was written with this version and cannot support newer versions, I need that MinGW 4.9.1 version to implement it into QT
:) I think you made the wise decision!
1/9