Skip to content

Instantly share code, notes, and snippets.

@mortbauer
Created May 31, 2018 06:56
Show Gist options
  • Save mortbauer/c785cb54db364119c6f1521a75930bb0 to your computer and use it in GitHub Desktop.
Save mortbauer/c785cb54db364119c6f1521a75930bb0 to your computer and use it in GitHub Desktop.
Integrate Qt5 into IPython kernel 6.1.0
%gui qt5
from PyQt5.QtWidgets import QMainWindow
win = QMainWindow()
win.show()
@mortbauer
Copy link
Author

This also works in the jupyter notebook version 4.3.0, just run the integration magic in a separate cell than the actually code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment