Qt: Prebuilt Packages

Created on 20 Oct 2016  路  3Comments  路  Source: therecipe/qt

Hi,

This is mainly a request. Is there any chance of someone packaging a pre-built set of files? I have 6 GB of RAM on my laptop so building from source is just not working out for me even though I definitely want to use this library to make Windows x86 programs. Golang + Qt GUI makes me pretty happy.

Thank you,
I hope someone will consider my request.

Most helpful comment

Hey

I'm already working on a docker image that lets you (cross) compile to Linux and Windows.

In the meanwhile you could comment out or remove the install step from the setup.bat:
go run %GOPATH%/src/github.com/therecipe/qt/internal/setup/install.go %* and simply re-run the setup.

This will let you use qtdeploy to build applications without having to install the widgets package, but you won't be able to use gocode auto-complete.

All 3 comments

Hey

I'm already working on a docker image that lets you (cross) compile to Linux and Windows.

In the meanwhile you could comment out or remove the install step from the setup.bat:
go run %GOPATH%/src/github.com/therecipe/qt/internal/setup/install.go %* and simply re-run the setup.

This will let you use qtdeploy to build applications without having to install the widgets package, but you won't be able to use gocode auto-complete.

I just made some changes with https://github.com/therecipe/qt/commit/d51ced2197a90db687db3a09e367cebde9ade4e4

You can now define QT_STUB=true before running the setup file.
This will create stub source code files that can't be used by go run/build, but you will get go-code auto-completion and still will be able to deploy everything with qtdeploy.
This should work on machines with at least 1gb ram.

It's solved, so I'm closing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xlucas picture xlucas  路  7Comments

quantonganh picture quantonganh  路  6Comments

ohenepee picture ohenepee  路  4Comments

tjma2001 picture tjma2001  路  3Comments

amlwwalker picture amlwwalker  路  3Comments