[][src]Struct qt_core::QLibraryInfo

#[repr(C)]pub struct QLibraryInfo { /* fields omitted */ }

The QLibraryInfo class provides information about the Qt library.

C++ class: QLibraryInfo.

C++ documentation:

The QLibraryInfo class provides information about the Qt library.

Many pieces of information are established when Qt is configured and built. This class provides an abstraction for accessing that information. By using the static functions of this class, an application can obtain information about the instance of the Qt library which the application is using at run-time.

You can also use a qt.conf file to override the hard-coded paths that are compiled into the Qt library. For more information, see the Using qt.conf documentation.

Methods

impl QLibraryInfo[src]

pub unsafe fn build() -> *const c_char[src]

Calls C++ function: static const char* QLibraryInfo::build().

pub unsafe fn build_date() -> CppBox<QDate>[src]

This function used to return the installation date for this build of Qt, but now returns a constant date.

Calls C++ function: static QDate QLibraryInfo::buildDate().

C++ documentation:

This function used to return the installation date for this build of Qt, but now returns a constant date.

This function was introduced in Qt 4.6.

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QLibraryInfo>>
) -> Ref<QLibraryInfo>
[src]

The QLibraryInfo class provides information about the Qt library.

Calls C++ function: QLibraryInfo& QLibraryInfo::operator=(const QLibraryInfo& other).

C++ documentation:

The QLibraryInfo class provides information about the Qt library.

Many pieces of information are established when Qt is configured and built. This class provides an abstraction for accessing that information. By using the static functions of this class, an application can obtain information about the instance of the Qt library which the application is using at run-time.

You can also use a qt.conf file to override the hard-coded paths that are compiled into the Qt library. For more information, see the Using qt.conf documentation.

pub unsafe fn is_debug_build() -> bool[src]

Returns true if this build of Qt was built with debugging enabled, or false if it was built in release mode.

Calls C++ function: static bool QLibraryInfo::isDebugBuild().

C++ documentation:

Returns true if this build of Qt was built with debugging enabled, or false if it was built in release mode.

This function was introduced in Qt 5.0.

pub unsafe fn licensed_products() -> CppBox<QString>[src]

This function used to return the products that the license for this build of Qt has access to, now returns an empty string.

Calls C++ function: static QString QLibraryInfo::licensedProducts().

C++ documentation:

This function used to return the products that the license for this build of Qt has access to, now returns an empty string.

pub unsafe fn licensee() -> CppBox<QString>[src]

This function used to return the person to whom this build of Qt is licensed, now returns an empty string.

Calls C++ function: static QString QLibraryInfo::licensee().

C++ documentation:

This function used to return the person to whom this build of Qt is licensed, now returns an empty string.

pub unsafe fn location(arg1: LibraryLocation) -> CppBox<QString>[src]

Returns the location specified by loc.

Calls C++ function: static QString QLibraryInfo::location(QLibraryInfo::LibraryLocation arg1).

C++ documentation:

Returns the location specified by loc.

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QLibraryInfo>>
) -> CppBox<QLibraryInfo>
[src]

The QLibraryInfo class provides information about the Qt library.

Calls C++ function: [constructor] void QLibraryInfo::QLibraryInfo(const QLibraryInfo& other).

C++ documentation:

The QLibraryInfo class provides information about the Qt library.

Many pieces of information are established when Qt is configured and built. This class provides an abstraction for accessing that information. By using the static functions of this class, an application can obtain information about the instance of the Qt library which the application is using at run-time.

You can also use a qt.conf file to override the hard-coded paths that are compiled into the Qt library. For more information, see the Using qt.conf documentation.

pub unsafe fn platform_plugin_arguments(
    platform_name: impl CastInto<Ref<QString>>
) -> CppBox<QStringList>
[src]

Calls C++ function: static QStringList QLibraryInfo::platformPluginArguments(const QString& platformName).

pub unsafe fn version() -> CppBox<QVersionNumber>[src]

Returns the version of the Qt library.

Calls C++ function: static QVersionNumber QLibraryInfo::version().

C++ documentation:

Returns the version of the Qt library.

This function was introduced in Qt 5.8.

See also qVersion().

Trait Implementations

impl CppDeletable for QLibraryInfo[src]

unsafe fn delete(&self)[src]

The QLibraryInfo class provides information about the Qt library.

Calls C++ function: [destructor] void QLibraryInfo::~QLibraryInfo().

C++ documentation:

The QLibraryInfo class provides information about the Qt library.

Many pieces of information are established when Qt is configured and built. This class provides an abstraction for accessing that information. By using the static functions of this class, an application can obtain information about the instance of the Qt library which the application is using at run-time.

You can also use a qt.conf file to override the hard-coded paths that are compiled into the Qt library. For more information, see the Using qt.conf documentation.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.