Questions tagged [qasync]

3 questions
1
vote
0 answers

PyQt5 QTimer 10ms is not accurate with QEventLoop and qasync in GUI APP

there: I have a weird behaviour with QTimer in PyQT5 when I try to measure frames and frequency. If you set a timer with 10ms = 1 / 100 every signal message gives the time every time. It works with the following snippet but then with another app…
0
votes
0 answers

No window appearing when using PyQt6 with QAsync, seems to terminate in super().__init__()

I am trying to use Qt-designer to make a layout that I then use in an application with QAsync. The code runs, but when it gets to super().__init__() it seems to return without ever running self.setupUi(self) I am following code…
Sam Knox
  • 1
  • 2
0
votes
1 answer

python async with AsyncKernelManager and Qt not executing

I'm trying to execute code inside a jupyter kernel in a Qt application. I have the below snipplet that is supposed to asynchronously run the code and then print the result import sys import asyncio import qasync from qasync import QApplication from…
wasp256
  • 5,943
  • 12
  • 72
  • 119