Which version of Qt am I using? How do I find out?
1. Which version(s) of Qt are installed on my machine?
Open Qt Creator > Tools > Options... > Kits > Kits.
In the example above, 5 separate versions of Qt have been installed (Yes, a machine can have multiple versions of Qt installed side-by-side):
- A 32-bit version of Qt 5.12.0 for the MSVC 2017 compiler
- A 32-bit version of Qt 5.12.3 for the MSVC 2017 compiler
- A 64-bit version of Qt 5.12.3 for the MSVC 2017 compiler
- A 32-bit version of Qt 5.12.3 for the MinGW compiler
- A 32-bit version of Qt 5.9.7 for the MinGW compiler
2. Which version(s) of Qt are being used in my project?
Click the Kit Selector icon on the bottom-left of Qt Creator:
In the above example, Qt 5.12.3 MinGW (32-bit) is the active version. This means clicking "Build" will launch your MinGW compiler, and your program will link to Qt 5.12.3.
Notice that Qt 5.9.7 is also enabled for this project, but it is not active.
3. Which version of Qt Creator am I using?
Open Qt Creator > Help > About Qt Creator...
In the above example, the IDE is Qt Creator 4.9.1. It was built using the MSVC 2017 compiler and linked to Qt 5.12.3.
Note: This does not mean that you have to use Qt 5.12.3 in your own projects. As shown in #1, you can manage many versions of Qt at the same time.
Important: Qt Creator is not Qt.
- Qt Creator is an integrated development environment (IDE)
- Qt is a library