Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fffaraz/docker-qt

C++ Qt compile environment for Docker (Dynamically Linked, Statically Linked, and Cross-compiled to Windows)
https://github.com/fffaraz/docker-qt

cpp cross-compiler cross-platform docker docker-image qt qtcreator

Last synced: about 1 month ago
JSON representation

C++ Qt compile environment for Docker (Dynamically Linked, Statically Linked, and Cross-compiled to Windows)

Awesome Lists containing this project

README

        

# Qt docker development environment
C++ Qt compile environment for Docker (Dynamically Linked, Statically Linked, and Cross-compiled to Windows)

* Linux Dynamically Linked
```
docker build --force-rm -f Dockerfile -t fffaraz/qt:latest .
docker run --rm -it -v $(pwd):/app fffaraz/qt:latest /bin/bash
```

* Linux Statically Linked
```
docker build --force-rm -f Dockerfile.static -t fffaraz/qt:static .
docker run --rm -it -v $(pwd):/app fffaraz/qt:static
```

* Windows 64bit Cross-compiled Statically Linked
```
docker build --force-rm -f Dockerfile.win64s -t fffaraz/qt:win64s .
docker run --rm -it -v $(pwd):/app fffaraz/qt:win64s
cd /app
qmake
make -j $(nproc)
```

* Windows 64bit Cross-compiled Statically Linked with Qt6 Submodules (Multimedia, Serialport, ...)
```
docker build --force-rm -f Dockerfile.win64sm -t fffaraz/qt:win64sm .
docker run --rm -it -v $(pwd):/app fffaraz/qt:win64sm
cd /app
qmake
make -j $(nproc)
```