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

qt.qpa issues #34

Open
bentotten opened this issue Jan 3, 2025 · 1 comment
Open

qt.qpa issues #34

bentotten opened this issue Jan 3, 2025 · 1 comment

Comments

@bentotten
Copy link

bentotten commented Jan 3, 2025

I am attempting to host this on an EC2 instance, however was running into this error when running build.py

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

There seems to be some code in build.py related to hosting a webserver, but the documentation is not clear - how are you hosting this on https://gravitymoth.com/spall/?

OS:
Ubuntu 24.04.1 LTS
x86

@colrdavidson
Copy link
Owner

colrdavidson commented Jan 7, 2025

That's weird.

Hosting it on gravitymoth/spall is pretty straightforward, going through github pages, and the structure / build are in https://github.com/colrdavidson/gravitymoth.

build.py spits out a wasm blob and a few little js/html files into build/dist, which should be servable over caddy / nginx just as well, without an issue.

AFAIK, build.py shouldn't be touching qt at all, but build.py uses python's http server module for convenience.

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

2 participants