Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find out how to build working Qt GUI apps #2

Open
probonopd opened this issue Oct 20, 2019 · 1 comment
Open

Find out how to build working Qt GUI apps #2

probonopd opened this issue Oct 20, 2019 · 1 comment

Comments

@probonopd
Copy link
Owner

Can we use this for Qt apps? Yes we can build Qt apps (but seemingly not run them yet?)

apk add qt5-qtbase-dev qt5-qtserialport-dev
git clone https://github.com/hvoigt/qt-hello-world
cd qt-hello-world
qmake-qt5
make
cd ..

This builds, but the GUI does not run. Inside the chroot I seem to have no access to Xorg, and outside the chroot it does not run either (probably need something like linuxdeployqt which doesn't handle this correctly yet).

What happens if I try to run a binary built in this way with the Qt that came with the system?

@probonopd
Copy link
Owner Author

For testing purposes, I have made an experimental Mumble 1.3.0 AppImage based on the Mumble package in Alpine Linux using musl libc.

mumble-voip/mumble#3959 (comment)

It seems to work, but then we are running into difficulties to use e.g., OpenGL, JACK, Theming? (to be investigated).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant