Unsolved Beginner Programmer
-
I was told to learn the language you are most interested in, yet I have not been able to properly install Qt at all. Is there anywhere you can find a descriptive step by step process helping me for just the installation. Which program has to be installed before Qt or after Qt? What are the steps to properly set up the KIT's, etc. I have uninstalled if for now.
-
Hi, welcome to the forum.
Which platform are you on and which platform do you want to develop for?
-
@David-Morgan
there are no any special requirements for Qt installation (Win Linux Mac).
Just download Qt installation for appropriate platform and launch it.
Of course you need read some Readme file if such present -
@aliks-os Well that's not true. If you want to use Microsoft toolchain you need to install Visual Studio and CDB. If you want to develop for Android you need NDK. There are other requirements for other platforms.
That's why I asked first about that.
-
I mean pure using of Qt, no any other IDE. Qt and QtCreator only
-
@aliks-os Yeah, but you can't do much with only Qt Creator and Qt as it's just and IDE and a library. You still need a compiler, debugger and possibly external libraries depending on the platform you're targeting.
-
Hi
For a out-of-the-box experience on window, you can take
https://www.qt.io/download-open-source/#section-2
and then
Qt 5.7.0 for Windows 32-bit (MinGW 5.3.0, 1.1 GB) (info)this contains all needed to make Qt desktop programs and in 99% of
all cases just works - as there are nothing to select or setup.Its uses the mingw compiler toolchain including debugger.
-
Is it not included into set of distro?, which is offered for download on the Qt site? It is meant as one set.
All other thing as you mention (compiler, debug tools, etc) included in set for downloading and no sense to mention it as the set have all tools to start work with Qt -
@aliks-os
If you use the online installer and select anything VS** (on windows)
you dont get compiler or debugger as Microsoft forbids to distribute visual studio installer.So to use that Qt version, you will have to download + install and setup manually.
However, with mingw Qt version, its all included. in the installer.
But as master Chris says, it really depends what he will target :)
-
@aliks-os
If you want to, for example, develop Windows Store app all you get from Qt is the IDE and the library. You still need to install MSVC compiler, CDB debugger, and Windows SDK separately. For mobile you need another SDK and emulator images too.
At least on Windows the only "out of the box" toolchain is with MinGW for classic desktop apps, which is limited in itself and on top of that distributed only in 32bit flavor (which is silly IMHO in this day and age). -
which is limited in itself
What limitations would it be?
and on top of that distributed only in 32bit flavor (which is silly IMHO in this day and age)
What's so silly about it? Impossibility to use more then 2(4) GB of RAM?
You still need to install MSVC compiler, CDB debugger
Back in my days I didn't install any of this and used only MinGW and I had everything I need within the Qt Creator. What I did wrong?
-
@veryqtperson said:
What limitations would it be?
I'll just name a few. We're getting mighty off topic here.
If you're developing for Windows Store you are forced into the WRL path, which is less than ideal to say the least.
Many popular closed source libraries and SDKs provide only MSVC compatible builds (that's not limitation of MinGW, just the state of the world).
gdb on Windows is just not as good as Microsoft's debugger.
Compile times are way worse than those of Microsoft's toolchain. This one hits especially on large projects.What's so silly about it? Impossibility to use more then 2(4) GB of RAM?
Perhaps I didn't make it clear - I meant distributing only 32bit version is silly, not 32bit apps in general. The RAM issue you mentioned is only one of the reasons, but not to be neglected. Access to large amounts of RAM is something very common these days. Think about the exploding in size games industry or large server data processors. Access to more memory and the CPU instructions and registers the 64bit architecture comes with is not really an option. It's a must. Of course nothing is for free and 64bit comes at a price, but current development of hardware focuses very actively on minimizing that cost and leveraging the benefits. It's kinda similar to switching from 8bit color to 32bit - sure, it comes with a large bandwidth cost but I think we can agree that we don't want to go back to the paletted days so we might as well build hardware that can handle it.
Back in my days I didn't install any of this and used only MinGW and I had everything I need within the Qt Creator. What I did wrong?
Nothing that I know of. If it worked for you that's perfectly fine. Just remember that "everything I need" is not the same as "everything anyone would ever need".