Skip to content

Conversation

@cheongpark
Copy link
Contributor

Fixed PyQt and PyQtGraph compatibility issues:

  1. QtGui.QApplication -> QtWidgets.QApplication
    Error: AttributeError: module 'pyqtgraph.Qt.QtGui' has no attribute 'QApplication'
    Fix: Updated import to use QtWidgets which is the correct module for QApplication in newer Qt versions

  2. pg.GraphicsWindow -> pg.GraphicsLayoutWidget
    Error: AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow'
    Fix: GraphicsWindow was deprecated and replaced with GraphicsLayoutWidget in newer PyQtGraph versions

  3. Added "show=True" parameter
    Fix: Explicitly set window visibility when creating GraphicsLayoutWidget

@Andrey1994
Copy link
Member

thanks

@Andrey1994 Andrey1994 merged commit a9ee4b7 into brainflow-dev:master Feb 23, 2025
10 of 11 checks passed
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.

2 participants