qt upgrade?

Asked by Bill Nackers

I have a software application that the software company says requires qt 5.6.1 and they are telling me that Ubuntu can't be upgraded beyond 5.5.1. Is this true? If so, is there anyway around it. When I try to start the app, I get the following error messages:

./bit_gui_x64: /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5: version `Qt_5' not found (required by ./bit_gui_x64)
./bit_gui_x64: /usr/lib/x86_64-linux-gnu/libQt5WebKitWidgets.so.5: version `Qt_5' not found (required by ./bit_gui_x64)
./bit_gui_x64: /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: version `Qt_5' not found (required by ./bit_gui_x64)
./bit_gui_x64: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version `Qt_5' not found (required by ./bit_gui_x64)
./bit_gui_x64: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.6' not found (required by ./bit_gui_x64)
./bit_gui_x64: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5' not found (required by ./bit_gui_x64)
./bit_gui_x64: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: version `Qt_5' not found (required by ./bit_gui_x64)

Any help would be greatly appreciated. Thanks!

-wcn

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Which Ubuntu release are you running? I assume 16.04 which contains qt version 5.5.1+dfsg-16ubuntu7.5

If you need a higher version of qt (>= 5.6.1) you can either upgrade to Ubuntu release 17.10 (with qt 5.9.1+dfsg-10ubuntu1 or run Ubuntu 17.10 in a live system) or you can install a higher version of qt on your 16.10 system from a PPA (e.g. ppa:trebelnik-stefina/qt5; standard disclaimer for PPAs applies as usual).

Revision history for this message
Bill Nackers (wcnackers) said :
#2

Hi Manfred,

Thanks for the response. I'm afraid I know enough about Linux to be
dangerous. What is a PPA? I would prefer to stick with the 16.04
release.

Again, Thanks!

-wcn

On Thu, Jan 18, 2018 at 11:52 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #663234 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/663234
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Which Ubuntu release are you running? I assume 16.04 which contains qt
> version 5.5.1+dfsg-16ubuntu7.5
>
> If you need a higher version of qt (>= 5.6.1) you can either upgrade to
> Ubuntu release 17.10 (with qt 5.9.1+dfsg-10ubuntu1 or run Ubuntu 17.10
> in a live system) or you can install a higher version of qt on your
> 16.10 system from a PPA (e.g. ppa:trebelnik-stefina/qt5; standard
> disclaimer for PPAs applies as usual).
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/663234/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/663234
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3
Revision history for this message
Manfred Hampl (m-hampl) said :
#4

PPA stands for "Personal Package Archive" and can be used to provide additional software or newer versions of software.
see https://launchpad.net/ubuntu/+ppas

In a quick search I found a PPA https://launchpad.net/~trebelnik-stefina/+archive/ubuntu/qt5 that might provide the version of qt software that you apparently need.

Software in PPAs is not verified to the same extent as the one in the standard Ubuntu repositories, and everyone is using the software on his own risk.

Revision history for this message
Bill Nackers (wcnackers) said :
#5

Manfred and actionparsnip,

Neither PPA worked. I am downloading Ubuntu 17.10 now. I will try that and let you know what I find. Thank you both for your help.

-wcn

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

What is the output of:

sudo apt-get update
lsb_release -a
uname -a

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

In what sense did the PPAs "not work"?

Were you unable to activate them as additional source, or was it impossible to install the updated version of the packages, or did the update work well but the bit software did not work with these qt packages, or what else was wrong?

You cannot expect help if you do not provide information.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Also:

apt-cache policy kate

Thanks

Revision history for this message
Bill Nackers (wcnackers) said :
#9

Manfred,

Both PPA appeared to download, install and update but when I tried to run the .bit app, I received the same errors. Adding them as an additional source didn't seem to work. I instead ran this that was listed at the top of the page of the link you gave me.

https://launchpad.net/~trebelnik-stefina/+archive/ubuntu/qt5

sudo add-apt-repository ppa:trebelnik-stefina/qt5
sudo apt-get update

actionparsnip,

I deleted the disk that I had the 16.04 on to put 17.10 on...my resources are limited. But whether the 17.10 works or not, I will go back to 16.04 and try those commands.

Sorry for my response not being more on point. I will try better. :-)

-wcn

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#10

The two commands
sudo add-apt-repository ppa:trebelnik-stefina/qt5
sudo apt-get update
only prepare your system to use the PPA as additional source.
For installing the updated packages either the command
sudo apt-get dist-upgrade
or starting the update-manager program and installing the available updates would have been necessary.

Revision history for this message
Bill Nackers (wcnackers) said :
#11

Manfred,

Sorry. Linux to me is akin to a car...I know enough to drive it but not how to fix it if something doesn't work.

I will relook at all of this tomorrow if I have time...which may be a stretch. Lots of new projects dropped off at my desk today. But one way or another, I will update both you and actionparsnip when I am able to get back to this.

Again, thanks for your help and sorry to be taking up so much of your time.

-wcn

P.S. By the way, these are the instructions I got from the website link that actionparsnip sent me.

1. sudo apt-add-repository ppa:kubuntu-ppa/backports
2. sudo apt update
3. sudo apt full-upgrade -y

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Remark: You can verify the version of a package that you have installed with a command like

apt-cache policy libqt5core5a

Revision history for this message
Bill Nackers (wcnackers) said :
#13

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Bill Nackers (wcnackers) said :
#14

Gentlemen,

First, I plead ignorance, incompetence and old-age. It is the only excuses I have for not getting both solutions to work on the first attempts.

Yes, I was able to get both of your solutions to work. I built a couple of fresh installs of Ubuntu 16.04 and tried both solutions. Both worked.

All I can think of is that I had the first install of Ubuntu 16.04 so messed up from all the attempts I had made to fix the problem on my own, that nothing would have worked.

Thank you so much for your patience, understanding and help.

-wcn

P.S. actionparsnip, I had no idea how to mark both solutions as having solved the problem. Please know that both of your efforts are appreciated equally. Sorry.