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

Missed QDesktopServices and QStandardPaths in PySide2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0
    • None
    • PySide
    • ca7e25ab0cc5b0d093a9bc5afff837f6e8ab6a8e

    Description

      No QDesktopServices in PySide2. In Qt5 it migrated from QtGui to root, but in PySide2 it was just deleted from QtGui.

      So this code from PySide can't be updated:

      QtGui.QDesktopServices.storageLocation(QtGui.QDesktopServices.DataLocation)
      

      Note, that Qt4 -> Qt5 guide suggests to use:

      QStandardPaths::standardLocations(QStandardPaths::DataLocation)
      

      but QStandardPaths not available in PySide2

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              polarnick polarnick
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes