Public Repository

Last pushed: 2 years ago
Short Description
QtCreator 3.1.2 (opensource) with GUI, use qt5.3.1
Full Description

How to run

# Install socat and xquartz if you want to run GUI demo.
brew install socat
brew cask install xquartz

# Start XQuartz
open -a XQuartz

# Expose local xquartz socket via socat on a TCP port
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"

# in another window under our opensse repo folder.
docker pull zddhub/qtcreator_gui:qt5.3.1
docker run -it zddhub/qtcreator_gui:qt5.3.1
/opt/Qt5.3.1/Tools/QtCreator/bin/qtcreator

If you meet some black block cover the qtcreator, please check and re-check Window/Full Screen will fix this.

How to make this image

FROM ubuntu:latest
MAINTAINER zdd <zddhub@gmail.com>

# docker run -it -e DISPLAY=$(ipconfig getifaddr en0):0 zddhub/qtcreator

RUN apt-get update && apt-get install -y wget \
    build-essential \
    libsm6 \
    libxrender1 \
    libfontconfig \
    libxext6 \
    libglib2.0-0 \
    libglu1-mesa \
    libxi6 \
    libxcomposite-dev \
    libcorelinux-dev \
    libxslt1-dev \
    libegl1-mesa-dev \
    libgl1-mesa-dev \
    libx11-6 \
    libx11-xcb-dev \
    libgstreamer0.10-dev \
    libgstreamer-plugins-base0.10-dev \
    zip \
    python \
    cmake

RUN wget http://download.qt.io/official_releases/qt/5.3/5.3.1/qt-opensource-linux-x64-5.3.1.run \
   && chmod +x qt-opensource-linux-x64-5.3.1.run \
   && ./qt-opensource-linux-x64-5.3.1.run

And then install qtcreator with GUI. # not find command line way to install this tool.

Docker Pull Command
Owner
zddhub