Skip to content

Remove dependence on modules: QtWidgets, QtGui#87

Closed
zhang-peter wants to merge 2 commits into
harvimt:masterfrom
zhang-peter:patch-1
Closed

Remove dependence on modules: QtWidgets, QtGui#87
zhang-peter wants to merge 2 commits into
harvimt:masterfrom
zhang-peter:patch-1

Conversation

@zhang-peter
Copy link
Copy Markdown

The QCoreApplication class provides an event loop for basic Qt applications. QApplication is not necessary for every application.

QGuiApplication and QApplication can be used as the following way for some Gui Applications.

app = QApplication(sys.argv)
loop = QEventLoop(app)
asyncio.set_event_loop(loop)

@pohlt
Copy link
Copy Markdown

pohlt commented Aug 3, 2018

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.

@me21 me21 mentioned this pull request Sep 14, 2018
@harvimt
Copy link
Copy Markdown
Owner

harvimt commented May 12, 2019

Included in #111

@harvimt harvimt closed this May 12, 2019
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

Successfully merging this pull request may close these issues.

3 participants