Identifying Qt Version at runtime
-
wrote on 25 Aug 2021, 21:30 last edited by
Hello all!
I'm trouble shooting an environment problem. Application A runs Qt version A, App B runs version B, etc. I'm now running into an issue where I have multiple versions of Qt installed, and Application C does not appear to call Qt version C (not 100% sure about that).
My question: Is there an easy way to make my application identify which version of Qt it's using at run time?
-
Hello all!
I'm trouble shooting an environment problem. Application A runs Qt version A, App B runs version B, etc. I'm now running into an issue where I have multiple versions of Qt installed, and Application C does not appear to call Qt version C (not 100% sure about that).
My question: Is there an easy way to make my application identify which version of Qt it's using at run time?
wrote on 25 Aug 2021, 21:38 last edited by jeremy_kqVersion() returns a const char * C string, for example "5.15.2".
QLibraryInfo::version() breaks it out into components.
1/2