Steps For installation development environment and packaging application in arch linux
- Install stringer tool
go install golang.org/x/tools/cmd/stringer@latest
- Install Qt5.13.0 https://download.qt.io/archive/qt/5.13/5.13.0/qt-opensource-linux-x64-5.13.0.run
- Install qtsetup
export GO111MODULE=off; go get -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup -test=false && go mod vendor
if not working try with root privileges - go.mod vendor syncs only go files. Remove qt from vendor/github.com/therecipe and clone it manually from git
git clone https://github.com/therecipe/qt.git
- Run
sudo QT_DIR=$QT5.13.0_INSTALL_PATH qtsetup
for installing dependencies in vendor - For linux packaging run
cd ./cmd/unicode-converter-gui
and executesudo QT_DIR=$QT5.13.0_INSTALL_PATH qtdeploy build linux
- Docker pull therecipe/qt:windows_64_static
- rsrc install for application icon
go install github.com/akavel/rsrc@latest
- rsrc -ico icon.ico -o icon.syso -arch=amd64 for setting the application icon replace the icon.ico file with your icon
- For windows packaging run
cd ./cmd/unicode-converter-gui
and executesudo qtdeploy -docker build windows_64_static
Steps for installation cli application
- make tidy
- make build