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.
相关问题
- QTextEdit.find() doesn't work in Python
- QT Layouts, how to make widgets in horizontal layo
- QGraphicsView / QGraphicsScene size matching
- Pillow (PIL) to QImage conversion -> python.exe ha
- Insert Image into QGridLayout and Draw on top of i
相关文章
- How to set the font size of the label on pushbutto
- how do I correctly return values from pyqt to Java
- About using an undocumented class in Qt
- Qt - setupUi( ) [duplicate]
- How to make QtLinguist shipped with Qt 5.9.1 work?
- In Qt, how do I align form elements in different g
- Erasing pen on a canvas
- mouseDoubleClickEvent with QLineEdit
All the version info is in PyQt5.Qt:
prints
The functions can be called too:
qmake-qt5 --version
or
qmake --version
You are using Qt version 4.7.1, because that is the version of the qmake. You can also from shell type qmake -v to get it. The other version, namely 2.3, is the version of Qt Creator, not of Qt
Starting with Qt 5.3 you can use:
This prints a bunch of useful information. The first line includes the version: