On 13/03/2019 22:42, Israel Brewster wrote:
> 1) Is there a “better way”? This GitHub repo:
> https://github.com/unbit/uwsgi-qtloop seems to indicate that it should be
> possible to run a Qt event loop from within a uWSGI app, thus eliminating the
> extra “subprocess” spinoff, but it hasn’t been
Never mind this request. I realized that for what I am doing, the web server
was unnecessary. I could just load local HTML files directly into the
QWebEngineView with no need of an intermediate server. Thanks anyway, and sorry
for the noise!
---
Israel Brewster
Software Engineer
Alaska Volcano
I’m working on a Qt for python app that needs to run a local web server. For
the web server portion I’m using flask and uWISGI, and at the moment I have my
application launching uWISGI using subprocess before firing off the Qt
QApplication instance and entering the Qt event loop. Some sample cod