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

DeprecationWarning not mentioned in the documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.1
    • 6.1.0
    • Documentation, PySide
    • None
    • Windows10 Python3.8 PySide6(6.1.0)
    • Windows
    • 76c6b9c85eb137670046c8bbb7e48a0d5f35edc6 (pyside/pyside-setup/dev) 1fb2a176a915daedd4e7179fc9392ee362e161eb (pyside/pyside-setup/6.1) fc376988a75ac98f10f28baa4b2898cf9f65b701 (pyside/pyside-setup/6.1.1)

    Description

      I tried to migrate a few hundred lines of code to PySide6, errors coming up, and these reports have not been mentioned in the migration article.

       

      DeprecationWarning: 'exec_' will be removed in the future. Use 'exec' instead.

      DeprecationWarning: Function: 'y() const' is marked as deprecated

      DeprecationWarning: Function: 'y() const' is marked as deprecated

      DeprecationWarning: Function: 'pos() const' is marked as deprecated

      AttributeError: type object 'PySide6.QtCore.Qt' has no attribute 'MidButton'

       

      Then I queried the document according to the prompt, but I found that the document did not change, and this.

       

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            chenzhong zhong chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes