Skip to content

Hi, could this library be used for PySide? #61

Closed Answered by pwuertz
liaodalin19903 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, could this be used for PySide?

What exactly are you looking for?

  • Are you writing pure Python applications with PySide and want something more convenient than the classical Qt API for asynchronous programming? Python natively supports async / await, so you could just wrap whatever Qt functionality you need into something that is Awaitable.

  • Are you writing a Qt/C++ extension for Python that needs to return a QtPromise to Python? Then it's probably best to create an asyncio.Future in the C++ binding and let the promise call Future.set_result or Future.set_exception.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by liaodalin19903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants