Skip to content

Conversation

@yungyuc
Copy link
Member

@yungyuc yungyuc commented Apr 4, 2022

Drop in code from the project branch.

yungyuc added 6 commits March 6, 2022 08:45
* Add the Qt3DWindow to a QWidget in QMainWindow

After adding the widget, a random SIGBUS (bus error: 10) appeared.  It seems the deleteLater() invoked in ~REntityBase() may trigger double free when REntityBase is allocated on the stack.  To resolve, I remove ~REntityBase().

In the future I should change all R* classes to sub-class from Qt.  Although I do not know whether or not it is correct, many examples does it for Qt so I should learn how to do it.
RPythonText inherits QDockWidget to create a dockable window consisting of a QTextEdit for the Python code and a QPushButton for running the code in the text edit.
@yungyuc yungyuc merged commit d95d641 into master Apr 4, 2022
@yungyuc yungyuc deleted the project/ustmesh branch April 4, 2022 13:12
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