Closed zhang-peter closed 5 years ago
The QCoreApplication class provides an event loop for basic Qt applications. QApplication is not necessary for every application.
QCoreApplication
QApplication
QGuiApplication and QApplication can be used as the following way for some Gui Applications.
QGuiApplication
app = QApplication(sys.argv) loop = QEventLoop(app) asyncio.set_event_loop(loop)
After applying the changes in this PR and PR #88 quamash now works with PySide2, so I would strongly support the integration of both PRs.
Included in #111
The
QCoreApplication
class provides an event loop for basic Qt applications.QApplication
is not necessary for every application.QGuiApplication
andQApplication
can be used as the following way for some Gui Applications.