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:
Note, that Qt4 -> Qt5 guide suggests to use:
but QStandardPaths not available in PySide2
|For Gerrit Dashboard: PYSIDE-432|
|189017,3||Add QStandardPaths and QDesktopServices to typesystem||dev||pyside/pyside-setup||Status: MERGED||+2||0|