PDA

View Full Version : How to know the running Qt version



Pepe
20th June 2008, 01:03
I can know the Qt version at compile time with QT_VERSION, but how can I know the version of Qt which is running?

(the application could have been compiled with one version and be run with another one)

mcosta
20th June 2008, 07:53
Use QtGlobal::qVersion()