question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image build failing for QT v 5.14.1

See original GitHub issue

After QT’s open-source repository was down for a few days, QT components v 5.14.1 (referred to by Splash’s Dockerfile) are no longer available in QT’s repository. Re-building the Docker image fails.

Reverting to QT version 5.12.10 allows image build to succeed, but the container started from the resulting image crashes with the following log.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/app/splash/server.py", line 12, in <module>
    from splash.qtutils import init_qt_app
  File "/app/splash/qtutils.py", line 15, in <module>
    from PyQt5.QtWebKit import QWebSettings
ImportError: libQt5QmlModels.so.5: cannot open shared object file: No such file or directory

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Gallaeciocommented, Jan 29, 2021

Oh, there’s https://download.qt.io/archive/qt/5.14/

So I guess for the time being a simple URL change may do the trick.

Upgrading Qt later will not be trivial, though. It’s starting to look like we will need to have the image build it from source. Maybe we need to find or create a Docker image that provides a Qt build, so that this Dockerfile does not take forever to build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Qt 5.14.1 · Issue #3310 · appveyor/ci - GitHub
@FeodorFitsner No, the script works only on version less than Qt 5.14.0. I've now upgraded to using the latest MSVC 2019 image and...
Read more >
Qt SDK build failed - ST Community
Hi All -. I was attempting to build the Qt example images for the DK2, following the wiki directions here:.
Read more >
Building of a Docker image with Qt5 compiled with MinGW ...
Building of a Docker image with Qt5 compiled with MinGW works in a container run from "docker:latest" image, but fails in GitLab CI...
Read more >
Qt 5.2.1 Known Issues - Qt Wiki
Qt Version Overview New Features Qt 5.0 Qt 5.0.0 • Qt 5.0.1 Release New Features in Qt 5.0 Qt 5.1 Qt 5.1 Release New Features...
Read more >
Benefits of a Relocatable Qt - Burkhard Stubert
Bob is ready to run the container, in which he will build Qt 5.14.1 from sources. $ docker run -it --rm -v $PWD:/RelocatableQt ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found