[−][src]Struct qt_core::QLibraryInfo
The QLibraryInfo class provides information about the Qt library.
C++ class: QLibraryInfo
.
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() -> Ptr<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()
.
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(
&mut self,
other: impl CastInto<Ref<QLibraryInfo>>
) -> MutRef<QLibraryInfo>
[src]
&mut self,
other: impl CastInto<Ref<QLibraryInfo>>
) -> MutRef<QLibraryInfo>
The QLibraryInfo class provides information about the Qt library.
Calls C++ function: QLibraryInfo& QLibraryInfo::operator=(const QLibraryInfo& other)
.
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()
.
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()
.
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()
.
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)
.
Returns the location specified by loc.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QLibraryInfo>>
) -> CppBox<QLibraryInfo>
[src]
other: impl CastInto<Ref<QLibraryInfo>>
) -> CppBox<QLibraryInfo>
The QLibraryInfo class provides information about the Qt library.
Calls C++ function: [constructor] void QLibraryInfo::QLibraryInfo(const QLibraryInfo& other)
.
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]
platform_name: impl CastInto<Ref<QString>>
) -> CppBox<QStringList>
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()
.
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(&mut self)
[src]
The QLibraryInfo class provides information about the Qt library.
Calls C++ function: [destructor] void QLibraryInfo::~QLibraryInfo()
.
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
impl RefUnwindSafe for QLibraryInfo
impl Send for QLibraryInfo
impl Sync for QLibraryInfo
impl Unpin for QLibraryInfo
impl UnwindSafe for QLibraryInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,