dave_uk_2018
Posts: 1
Joined: Sat Mar 17, 2018 10:35 am

Upgrading Qt 5.7.1 to 5.10

Sat Mar 17, 2018 10:39 am

Hi,

I've installed Qt 5.7.1 on a Pi 3 by using

sudo apt-get install qt5-default
sudo apt-get install qtcreator

That is working fine but now I need to use some features from Qt 5.10.

How do I do an upgrade to 5.10 ?
Or how can I install 5.10 from scratch ?

Thanks.

Dave

Heater
Posts: 9992
Joined: Tue Jul 17, 2012 3:02 pm

Re: Upgrading Qt 5.7.1 to 5.10

Sat Mar 17, 2018 6:32 pm

This is an endless problem with Raspbian, Debian and other Linux distros.

They package well tested and stable versions of everything, which is a good thing. But then you find you want some latest cutting edge feature of whatever program/library it is.

Generally I find that the way to do this is to build the latest version of whatever you want from the upstream project sources.

Such was the case when I wanted Qt5 back when Raspbian only had Qt4. The only thing to do was download the Qt5 sources and build it myself.

Problem is, finding instructions as to how to do that was very hard, most did not work.

Actually doing it took many hours.

Times have changed since then but you could start from here: https://wiki.qt.io/Native_Build_of_Qt5_ ... spberry_Pi

fruitoftheloom
Posts: 17603
Joined: Tue Mar 25, 2014 12:40 pm

Re: Upgrading Qt 5.7.1 to 5.10

Sat Mar 17, 2018 6:44 pm

dave_uk_2018 wrote:
Sat Mar 17, 2018 10:39 am
Hi,

I've installed Qt 5.7.1 on a Pi 3 by using

sudo apt-get install qt5-default
sudo apt-get install qtcreator

That is working fine but now I need to use some features from Qt 5.10.

How do I do an upgrade to 5.10 ?
Or how can I install 5.10 from scratch ?

Thanks.

Dave

ArchLinuxArm is a Rolling Release and has the newer packages you desire:

https://archlinuxarm.org
Adieu

Return to “Other programming languages”