Skip to content

LibraryInfo

Base classes

Name Children Inherits
QLibraryInfo
PySide6.QtCore

⋔ Inheritance diagram

graph TD
  382086234["core.LibraryInfo"]
  3450106218["QtCore.QLibraryInfo"]
  37984305["Shiboken.Object"]
  2751680898["builtins.object"]
  3450106218 --> 382086234
  37984305 --> 3450106218
  2751680898 --> 37984305

🛈 DocStrings

Bases: QLibraryInfo

Information about the Qt library.

Source code in prettyqt/core/libraryinfo.py
class LibraryInfo(core.QLibraryInfo):
    """Information about the Qt library."""

    @classmethod
    def get_location(cls, location: LocationStr) -> pathlib.Path:
        path = cls.path(LOCATION.get_enum_value(location))
        return pathlib.Path(path)

    @classmethod
    def get_version(cls) -> core.VersionNumber:
        return core.VersionNumber(cls.version())

:fa-brands-github: Show source on GitHub