You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+62-51Lines changed: 62 additions & 51 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -780,55 +780,77 @@ It allows you to run, create, modify and delete scripts directly from the UE edi
780
780
781
781
The first pull request for the editor has been issued by https://github.com/sun5471 so many thanks to him ;)
782
782
783
-
Integration with PyQT
784
-
---------------------
783
+
Integration with Qt4/Qt5/PySide2
784
+
--------------------------------
785
785
786
-
To correctly integrates PyQT with UnrealEngine the python plugin must correctly setup the GIL (and this is done) and exceptions must be managed ad-hoc (not doing it will result in a deadlock whenever a qt signal handler raises an exception)
786
+
Thanks to solid GIL management, you can integrate Qt python apps in Unreal Engine 4.
787
787
788
-
This is an example of having a QT window along the editor to trigger asset reimporting (pay attention to the sys.excepthook usage):
788
+
Pay attention to not call app.exec_() as it will result in Qt taking control of the UE loop. Instead use a ticker to integrate the Qt loop in the editor loop:
789
789
790
-
```py
791
-
from PyQt5.QtWidgets import QApplication, QWidget, QListWidget
0 commit comments