From 95434b416ec4b1daa1dfc8c0176b7bf0287e7532 Mon Sep 17 00:00:00 2001 From: mappu Date: Thu, 1 May 2025 22:00:10 +1200 Subject: [PATCH] doc/README: the qt5-6 is not a module, so you can't use go mod edit --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 88455cee..cff99491 100644 --- a/README.md +++ b/README.md @@ -128,9 +128,7 @@ You can use the `PKG_CONFIG_PATH` environment variable to override where CGO loo The import path changes from `github.com/mappu/miqt/qt` to `github.com/mappu/miqt/qt6`, but most basic classes are the same. -You can replace the import path in two ways: -1. Add a go.mod directive: Run `go mod edit -replace github.com/mappu/miqt/qt=github.com/mappu/miqt/qt6` -2. Or, update all imports: Run `find . -type f -name .go -exec sed -i 's_"github.com/mappu/miqt/qt"_qt "github.com/mappu/miqt/qt6"_' {} \;` +You can update all imports by running `find . -type f -name .go -exec sed -i 's_"github.com/mappu/miqt/qt"_qt "github.com/mappu/miqt/qt6"_' {} \;` ### Q9. How can I add bindings for another Qt library?