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

Wrong import in Qt for Python documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • 5.15.1
    • Documentation
    • None
    • All
    • a633ba483890f91cf949c2b384274175043415cd (pyside/pyside-setup/5.15)

    Description

      Chapter 3 - Create an empty QMainWindow tutorial is wrongly importing the qApp singleton from PySide2.QtCore, resulting in

       ImportError: cannot import name 'qApp' from 'PySide2.QtCore 

      Correct way would be to import PySide2 directly.

      Attachments

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

        Activity

          People

            rafaellehmkuhl rafaellehmkuhl
            rafaellehmkuhl rafaellehmkuhl
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes