QSocketNotifier: Can only be used with threads started with QThread

Viewed 1983

I'm getting the following error with just a very basic application and with no sockets or anything fancy:

QSocketNotifier: Can only be used with threads started with QThread

Machine:

  • Fedora 32 (Workstation Edition)
  • Python 3.8
  • PyQt5
  • Fedora is inside VirtualBox
  • Host is Windows 10

From Script.py

#!/usr/bin/python3.8
from PyQt5.QtWidgets import QApplication, QLabel
app = QApplication([])
label = QLabel('Hello World!')
label.show()
app.exec_()
0 Answers
Related