Best source for MinGW
-
The good thing is that all of those flavours should generate compatible code (as long as you stick to the same exception and threading model) and as you are required to deploy Qt with your application anyway on Windows you are theoretically free to choose your flavour as long as it works for you. There will be, however, just one flavour which is officially supported, and I second the selection of mingw-builds.
Yes, the name is quite misleading, it should probably read MinGW for Qt5 or just MinGW. What do you think?
-
[quote author="Lukas Geyer" date="1357742639"][quote author="astodolski" date="1357735005"]So then can I assume that the updated Qt libraries are an upgrade to the Nokia supplied SDK?[/quote]There are no Nokia SDKs any longer; they are now provided by the QtProject.
Official Qt4 libraries are still based on MinGW 4.4 (and I have no information that this is going to change), Qt5 libraries will be based on MinGW 4.7.2 from mingw-builds when they are released (planned for Qt 5.0.1).[/quote]
I understand there is no SDK any longer - certainly not the one that was from Nokia. Installing Qt along with a MinGW compiler was initially done using the SDK 1.1 which was available here. Every subsequent revision to the Qt library was just that. Meaning if you were to install the updated library after having the SDK, the compiler remains at version 4.4 which is included in the SDK. If someone were to install Qt 4.8.4 for MinGW for the first time, then locate the latest MinGW compiler, you can see that it is not a smooth set-up. There are obvious issues which I am seeing. This is why I asked if the revision path with the updated library had as a basis the original SDK.
-
[quote author="Lukas Geyer" date="1357746695"]
Yes, the name is quite misleading, it should probably read MinGW for Qt5 or just MinGW. What do you think?
[/quote]
There is also a parenting folder called MinGW. When you go onto this it actually allows its creation, because a wiki is not existent.
So either- to place some more general information there :)
- to add a sentence indicating that there more detailed information under MinGW-64-bit for 32 bit :(
Rename the MinGW-64-bit page in all cases. MinGW for Qt5 is as misleading, since the information is also valid for Qt4. How about MinGW-builds(current_recommendation_for_Qt) ?
This would leave room in case of odds and another MinGW gets selected at the end. Otherwise MinGW-builds sounds good to me.
The first sentence of the wiki page should be then:
"This is mainly about selecting the right MinGW package for Qt 5." -
[quote author="astodolski" date="1357748154"]... If someone were to install Qt 4.8.4 for MinGW for the first time, then locate the latest MinGW compiler, you can see that it is not a smooth set-up. There are obvious issues which I am seeing. This is why I asked if the revision path with the updated library had as a basis the original SDK.[/quote]I'm still not quite sure what you mean, but i'll give it a try anyway. ;-)
The MinGW used to build Qt4 for the Nokia SDK is the same which is used to build the Qt4.8.x library packages now (at least as far as I know).
The library packages should warn you if you try to use it with an incompatible version, for example that latest MinGW compiler; you obviously have already experienced that, in form of "Only versions of W32API 3.13 are supported.".
-
[quote author="koahnig" date="1357748774"]Rename the MinGW-64-bit page in all cases. MinGW for Qt5 is as misleading, since the information is also valid for Qt4. How about MinGW-builds(current_recommendation_for_Qt) ?
This would leave room in case of odds and another MinGW gets selected at the end. Otherwise MinGW-builds sounds good to me.
The first sentence of the wiki page should be then:
"This is mainly about selecting the right MinGW package for Qt 5."[/quote]
I would say:- The content from "MinGW 64 bit":http://qt-project.org/wiki/MinGW-64-bit is moved to "Category:MinGW":http://qt-project.org/wiki/Category:MinGW
- "MinGW 64 bit":http://qt-project.org/wiki/MinGW-64-bit is redirected to "Category:MinGW":http://qt-project.org/wiki/Category:MinGW to not break any existing links
- The content from "Tools > MinGW":http://qt-project.org/wiki/MinGW is merged with "Category:MinGW":http://qt-project.org/wiki/Category:MinGW
- "This is about selecting the right MinGW package for Qt 5." is removed altogether.
- The section "Building Qt" is renamed to "Building Qt5" and a section "Building Qt4" is added.
This way there is a centralized article which covers the topic MinGW, which is the preferred distrubtion, what are the differences and how to use it to build Qt and its dependencies.
-
[quote author="Lukas Geyer" date="1357753210"]I would say:
- The content from "MinGW 64 bit":http://qt-project.org/wiki/MinGW-64-bit is moved to "Category:MinGW":http://qt-project.org/wiki/Category:MinGW
- "MinGW 64 bit":http://qt-project.org/wiki/MinGW-64-bit is redirected to "Category:MinGW":http://qt-project.org/wiki/Category:MinGW to not break any existing links
- The content from "Tools > MinGW":http://qt-project.org/wiki/MinGW is merged with "Category:MinGW":http://qt-project.org/wiki/Category:MinGW
- "This is about selecting the right MinGW package for Qt 5." is removed altogether.
- The section "Building Qt" is renamed to "Building Qt5" and a section "Building Qt4" is added.
This way there is a centralized article which covers the topic MinGW, which is the preferred distrubtion, what are the differences and how to use it to build Qt and its dependencies.[/quote]
That is certainly fine with me. That is more I meant with the first option. The second option was for minimum effort. ;) -
[quote author="Lukas Geyer" date="1357750738"]
The MinGW used to build Qt4 for the Nokia SDK is the same which is used to build the Qt4.8.x library packages now (at least as far as I know).
[/quote]
Consider if you will, If I had a clean machine and wish to install Qt, I grab the 4.8.4 library built for MinGW. Not knowing which version of the compiler to use I assume to get the latest. That's what got me to this point. Nobody would know that a down rev of the compiler is to be obtained if one isn't already installed. If you are starting with the SDK that's a given is it not?
[quote]
The library packages should warn you if you try to use it with an incompatible version, for example that latest MinGW compiler; you obviously have already experienced that, in form of "Only versions of W32API 3.13 are supported.".[/quote]Yes, and the solution is only realized after some "digging". This is why it looks as if the library updates are replacement for what was in the SDK.
-
Got it.
[quote author="astodolski" date="1357764188"]Nobody would know that a down rev of the compiler is to be obtained if one isn't already installed. If you are starting with the SDK that's a given is it not?[/quote]I think I have to disagree on this one. The required compiler is explicitly stated (for instance MinGW 4.4, MSVC2008 or MSVC2010).But I agree that the download page can be quite misleading, especially as the terms 'libraries' and 'SDK' are now used synonymously, whereas they mean different things for Qt5 and Qt4.
Feel free to leave a comment at https://bugreports.qt-project.org/browse/QTWEBSITE-494
-
[quote author="Lukas Geyer" date="1357815665"]The required compiler is explicitly stated (for instance MinGW 4.4, MSVC2008 or MSVC2010).
[/quote]Yes it is.
[quote]
But I agree that the download page can be quite misleading, especially as the terms 'libraries' and 'SDK' are now used synonymously, whereas they mean different things for Qt5 and Qt4.Feel free to leave a comment at https://bugreports.qt-project.org/browse/QTWEBSITE-494[/quote]
Now that this thread I started sort of blew up - in a good sense - what in your opinion (or any one else's) is a recommended path to setting up an IDE (Qt library + Qt Creator)?
Choice 1:
SDK 1.1: Still available from Nokia (at least until Qt Project releases its own) and updating Qt library as needed
Choice 2:
Getting current Qt library, Creator, appropriate compiler.
I posted a comment regarding the download page "here":https://bugreports.qt-project.org/browse/QTWEBSITE-494?focusedCommentId=192380#comment-192380
-
[quote author="astodolski" date="1357825700"]Now that this thread I started sort of blew up - in a good sense - what in your opinion (or any one else's) is a recommended path to setting up an IDE (Qt library + Qt Creator)?
Choice 1:
SDK 1.1: Still available from Nokia (at least until Qt Project releases its own) and updating Qt library as needed
Choice 2:
Getting current Qt library, Creator, appropriate compiler.[/quote]
Choice 1 really doesn't offer much at all -- You'll need to upgrade the Qt library (to Qt 4.8.4) AND Qt Creator, so you end up almost doing Choice 2 anyway.The method with the least steps involved (for Qt 5.0.0 on Windows) is:
Download and install Windows SDK 7.1 (32-bit) from http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDK_EN_DVD.iso (it's ~570 MB)
Restart your computer
Download and install Qt libraries 5.0.0 for Windows (VS 2010 406 MB) from http://qt-project.org/downloads (This already includes Qt Creator 2.6.1)
Start writing programs