Qt 5.14+ on ubunut 20.04
-
Hi,
i've installed QT 5.15 to /opt/ in Ubuntu 20.04. I've also added /opt/Qt/5.15.2/ to my PATH.
Running qtdiag continues to show the older version installed. 5.12.x.
I've seen warnings not to simply delete an existing Qt installation, so haven't tried that yet.
With /opt/ at the front of my PATH I would have hoped the newer version is what would be picked up.
thank you for any suggestions about how I can upgrade Qt.
for what i am doing I need QRecursivemutex, which means 5.14 or greater.
thanks!
-
Hi,
i've installed QT 5.15 to /opt/ in Ubuntu 20.04. I've also added /opt/Qt/5.15.2/ to my PATH.
Running qtdiag continues to show the older version installed. 5.12.x.
I've seen warnings not to simply delete an existing Qt installation, so haven't tried that yet.
With /opt/ at the front of my PATH I would have hoped the newer version is what would be picked up.
thank you for any suggestions about how I can upgrade Qt.
for what i am doing I need QRecursivemutex, which means 5.14 or greater.
thanks!
Hi and welcome to devnet,
Are you trying to build your project on the command line ?
If so, use the full path to the qmake executable of the Qt version you want to use.That's the proper way to build with different versions of Qt.
-
Hi,
i've installed QT 5.15 to /opt/ in Ubuntu 20.04. I've also added /opt/Qt/5.15.2/ to my PATH.
Running qtdiag continues to show the older version installed. 5.12.x.
I've seen warnings not to simply delete an existing Qt installation, so haven't tried that yet.
With /opt/ at the front of my PATH I would have hoped the newer version is what would be picked up.
thank you for any suggestions about how I can upgrade Qt.
for what i am doing I need QRecursivemutex, which means 5.14 or greater.
thanks!
-
Hi per the direction of a member of the QGIS dev mailing list, i've upgraded to ubunutu 22.04 which includes qt 5.15 and I'm tentatively all set.
thank you for the responses!