Public | Automated Build

Last pushed: 4 days ago
Short Description
Build environment based on arch-linux and mingw. Includes mingw-(Qt5, cmake, Eigen3, boost) from AUR
Full Description

docker-mingw-qt5

mingw-based build environment based on arch-linux. The image provides easy and CI/CD friendly cross-compilation for windows target. mingw- versions of Qt5, cmake, Eigen3, boost are included. Dosens of other libraries are available from the package manager.

Usage

Start the docker container:

sudo docker run -it burningdaylight/docker-mingw-qt5 /bin/bash

Compile your application (QNapi is used as an example here):

git clone --recursive 'https://github.com/QNapi/qnapi.git'
cd qnapi/
x86_64-w64-mingw32-qmake-qt5
make

Or for CMake:

x86_64-w64-mingw32-cmake ..

That's it!

Dependencies

If you need some other dependencies, you can install them from AUR.

pacaur -S --noedit mingw-w64-rapidjson

If mingw- version of the needed libarary is not available in AUR, you can add it yourself. The process is really straightforward. You would need to write a PKBUILD file, which is as intuitive as it can get, see mingw-w64-rapidjson, for example.

Docker Pull Command
Owner
burningdaylight