Resolve "QWebEngine complains about QCoreApplication when started from BECGuiClientMixin (e.g BEC IPython client)"
Description
BEC widgets client code imports "server" module to be able to start it, when calling show()
(member of BECGuiClientMixin
).
However the server module imports widgets - in particular the QWebEngine
. This one monkeys with QApplication
somehow (see https://bugreports.qt.io/browse/QTBUG-80912 ), whereas BEC Widgets code already communicates
with BEC servers and already has a QCoreApplication
running.
The fix is easy: we should not import server
in client
. Instead of importing it just to have the path to
server.py right, let's make an entry point for the BEC GUI server.
Closes #224 (closed)