How to upgrade Qt installed in linux from one version to higher
Solution 1
Solved: I changed repository from squeeze (stable) to wheezy(testing), in wheezy latest Qt version is 4.8.1, which is perfectly suits my needs.
Using package manager I found package libqt4-dev and selected it for update. That is all, the whole process took 5 minutes.
Disadvantages: - As I run Debian on Virtual Box after changing repository I had to reinstall guest additions - wheezy is less stable than squeeze (I haven`t faced yet with stablilty problem)
Solution 2
- I guess you can use Upgrade option in the Qt Creator.
- Or you can download latest version from Download Qt, the cross-platform application framework
- Or you could try to update using something like
apt-get install(upgrade) libqt4-dev
if you using Debian based system.
spin_eight
My history: My passion for software development started in 2002, from coding in school (physics & math lyceum) small game projects, 3d graphics in Turbo Pascal 7.0), continued in trainings for Olympiad programming in "ITMO University" (tutor Stankevich) and now continues to develop while doing industrial products for science companies. Background I graduated from the Saint-Petersburg Polytechnic University in 2014 (computer science). I developed software for navigation devices(air, marine, shore-based) for civil and military companies. About SO I registered at the Stackoverflow, because it is the good source of knowledge for me, where you can ask question end get a professional answer on it. Also it allows to test your comprehension of art of programming by answering questions and getting responses from participants. So I am very glad that I have found such a good community in which there are a lot of people who love computer science and enjoy their work.
Updated on January 05, 2020Comments
-
spin_eight over 4 years
While porting Qt project from windows to linux(ubuntu) i faced with the following issue:
on windows Qt version 4.8.1 is installed on linux 4.6.3 in which some functionalities availiable in higer version 4.8.1 don`t yet implemented (ex. QUdpSocket::joinMultiCastGroup).
I see only one solution to this problem: upgrade Qt version on linux to 4.8.1. How can I do this?
On linux I got installed libqt4-dev, qmake.