Installing Qt 5.6: Which components should I choose?

假装没事ソ 提交于 2019-12-05 11:25:26
Ivan Aksamentov - Drop

Top one, in "Qt" section, is a distribution of Qt framework: header files and libraries compiled with MinGW GCC 4.9.2.

Bottom one, in "Tools" section is a compiler toolchain: MinGW GCC version 4.9.2.

You need both.

Be warned: GDB frontend in QtCreator has significant performance issues, especially concerning startup time. It is not very responsive as well. This makes me really uncomfortable during debugging sessions. For example, fetching values of variables may take a second or two. You will not have this problem with Microsoft toolchain. It also doesn't happen on Linux.

Also, Qt for MinGW has only a 32-bit official distribution. So you cannot build 64-bit programs with that. You will need another toolchain and to build Qt distribution from source code yourself (or to get it from 3rd party source).

You may use Visual Studio on Windows and GCC on Linux. It usually works fine, as Qt hides most of the platform and compiler specifics. An advantage is that these compilers, standard libraries, runtimes and debuggers are drastically different: you get double strength of compiler warnings, heap memory diagnostics and code portability. Just make sure you compile on both platforms time to time. You may even have multiple toolchains and Qt distibutions installed on Windows and check against all of them. You can set-up your projects and switch between toolchains in two clicks. You can add and remove them any time. Experiment! Don't be afraid to break it. ;)
P.S. geek mode enabled: 20 Gb of full happiness

Regarding Qt vs QtQuick there is only one answer for that: it depends. Also it is offtopic on StackOverflow to ask that. You might take a look at these answers. I strongly encourage you to try both.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!