How do I know which version of Qt I am using? When I open Qt Creator it shows \"Welcome to Qt Creator 2.3\". In the build setting, however, it shows Qt Version 4.7.1.
You can use qmake -query QT_VERSION:
➜ ~ qmake -query QT_VERSION 4.8.7 ➜ ~ Qt/5.15.0/gcc_64/bin/qmake -query QT_VERSION 5.15.0 ➜ ~ qt-6.0.0/bin/qmake -query QT_VERSION 6.0.0