Sign inSign up

marcelohmariano/qt

By marcelohmariano

Updated about 5 years ago

Docker image for Qt programming

Image
1

1.6K

marcelohmariano/qt repository overview

Qt Development Environment

GitHub Docker Cloud Automated build Docker Cloud Build Status

This Docker image is intended to provide a development environment for Qt. It contains the Qt libraries and tools, a C++ compiler and a debugger.

Prerequisites

Make sure you have all of the following prerequisites on your development machine:

Building

Once you have satisfied all the prerequisites above you can build your image.
To do that open a command terminal and run the following commands:

git clone https://github.com/marcelohmariano/qt.git
cd qt
docker build -t qt .

Usage

Start a container with no GUI support
docker run -it --rm qt bash
Start a container with GUI support (by sharing the .Xauthority file)
docker run -it --rm \
  -v $HOME/.Xauthority:/home/dev/.Xauthority \
  -e DISPLAY \
  --network host \
  --privileged \
  qt \
  qtcreator

That assumes you are running a Linux OS.

License

This project is licensed under the MIT License found in the LICENSE file.

Tag summary

Content type

Image

Digest

Size

822.9 MB

Last updated

about 5 years ago

docker pull marcelohmariano/qt