Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade Qt installed in linux from one version to higher

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.

like image 550
spin_eight Avatar asked Sep 26 '12 11:09

spin_eight


1 Answers

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)

like image 128
spin_eight Avatar answered Oct 01 '22 17:10

spin_eight