The person who maintains the qt5 ppa for Precise periodically will bump the minor version and remove the previous file. If this happens simply change ppa:beineri/opt-qt542 to whatever the latest version is.
Additionally, if you want to install capybara-webkit with qt5, you need to run the following command.
After setting up QT55 we’re experiencing an issue with some of our specs, but can’t find much on google about it. The error is:
Could not initialize GLX
Which then causes capybara-webkit to crash:
An error occurred in an after hook
Capybara::Webkit::CrashError: The webkit_server process crashed!
Broken pipe
It appears this maybe related to graphics drivers from some posts I found related to the error, but I’m not sure what to do about fixing them for ubuntu.
It’s a weird error to me because we have the same specs running over the same code with just a slightly different html/css templates for a couple dozen themes, and the specs pass fine for all but 3 of the themes which end up with the GLX error causing them to fail. So QT55 appears to mostly work fine except in these few cases in the circle containers we can’t reproduce the errors in our dev enviornment. Will have to try SSH to see if that turns anything up for point of failure I guess was hoping people may have seen this GLX error before.
(I’d put in the full log but I’m having trouble figuring out how to give log output and posting takes does something with the apt source links instead of keeping them verbatim. And then tells me I’m only allowed 2.
as of this morning this solution fails with an error like this:
Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libapt-pkg4.12 amd64 1.0.1ubuntu2.10
404 Not Found [IP: 54.198.110.211 80]
Err http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apt amd64 1.0.1ubuntu2.10
404 Not Found [IP: 54.198.110.211 80]
Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_1.0.1ubuntu2.10_amd64.deb 404 Not Found [IP: 54.198.110.211 80]
Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.0.1ubuntu2.10_amd64.deb 404 Not Found [IP: 54.198.110.211 80]
I tried updating to the latest repository, but could not find a working solution.
FYI to all it seems like the best way to use QT5 is now to use the apparently experimental feature “ubuntu 14.04 (trusty)”: Ubuntu 14.04 (Trusty) container . This has has QT5 preinstalled. However we are getting sporadic failures on it on one project (am going to try out on another project). Have started a issue with capybara-webkit (https://github.com/thoughtbot/capybara-webkit/issues/890) to get insight and will investigate further, but would be useful to hear other peoples experiences here.