From 29e62486696093483f2b6bb6259959532e53945a Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 15 Sep 2024 11:06:05 +1200 Subject: [PATCH] doc/README: more files should be copied for dynamic linking --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d77f85e..0dbbd98 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ For dynamically-linked builds (closed-source or open source application): - `docker build -t miqt/win64-dynamic:latest -f win64-cross-go1.23-qt5.15-dynamic.Dockerfile .` 2. Build your application: - `docker run --rm -v $(pwd):/src -w /src miqt/win64-dynamic:latest go build -buildvcs=false -ldflags '-s -w -H windowsgui'` -3. Copy necessary Qt LGPL libraries. +3. Copy necessary Qt LGPL libraries and plugin files. For repeated builds, the compile speed can be improved if you also bind-mount the Docker container's `GOCACHE` directory: `-v $(pwd)/container-build-cache:/root/.cache/go-build`