QgsProjectVersion class

A class to describe the version of a project.

Used in places where you need to check if the current version of QGIS is greater than the one used to create a project file.

Constructors, destructors, conversion operators

QgsProjectVersion() defaulted
Creates a new NULL version.

Public functions

auto isNull() const -> bool
Returns true if this is a NULL project version.
auto operator!=(const QgsProjectVersion& other) const -> bool
Boolean not equal operator.
auto operator==(const QgsProjectVersion& other) const -> bool
Boolean equal operator.
auto operator>(const QgsProjectVersion& other) const -> bool
Boolean > operator.
auto operator>=(const QgsProjectVersion& other) const -> bool
Boolean >= operator.