Identifying Qt Version at runtime
-
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?
qVersion() returns a const char * C string, for example "5.15.2".
QLibraryInfo::version() breaks it out into components.