Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-753

QAspectEngine: setRootEntity not available in Python/PySide2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.5.2
    • 5.11.1
    • PySide
    • None
    • 5e22669a6c (pyside/pyside-setup/dev) 5e22669a6c (pyside/tqtc-pyside-setup/dev) 5e22669a6c (pyside/tqtc-pyside-setup/tqtc/dev)

      Here is a code:

       

      def _init_(self):
          self.aspectEngine = Qt3DCore.QAspectEngine()
          self.root = Qt3DCore.QEntity()
          self.aspectEngine.setRootEntity(self.root)

       

      And the error is:

      AttributeError: 'PySide2.Qt3DCore.Qt3DCore.QAspectEngine' object has no attribute 'setRootEntity'

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            jirauser48988 user-4faae (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes