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

QAspectEngine: setRootEntity not available in Python/PySide2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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)

    Description

      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'

       

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes