Skip to content

LibraryInfo

Qt Base Class: QLibraryInfo

Signature: None

Base classes

Name Children Inherits
QLibraryInfo
PySide6.QtCore

⋔ Inheritance diagram

graph TD
  1473299839424["core.LibraryInfo"]
  1473243617328["QtCore.QLibraryInfo"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473243617328 --> 1473299839424
  1473291690208 --> 1473243617328
  140713234304496 --> 1473291690208

🛈 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())