Skip to content

Instantly share code, notes, and snippets.

@msoechting
Last active September 10, 2018 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msoechting/fe6563fdcdeb077dff9b24b223fc37e7 to your computer and use it in GitHub Desktop.
Save msoechting/fe6563fdcdeb077dff9b24b223fc37e7 to your computer and use it in GitHub Desktop.
Minimal Dockerfile for reproducing the Qt|Docker error 'Could not find the Qt platform plugin "..." in "..."'
FROM nvidia/opengl:1.0-glvnd-devel-ubuntu18.04
RUN apt-get -y update && apt-get install -y --no-install-recommends software-properties-common
RUN apt-add-repository ppa:beineri/opt-qt-5.11.1-bionic && apt-get update -y && apt-get install -y qt511-meta-minimal qt511websockets qt511webengine && apt-get autoremove
CMD /opt/qt511/bin/qmlplugindump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment