All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QLibraryInfo Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Information about the Qt library

*

Java wrapper for Qt class QLibraryInfo

*/ public final class QLibraryInfo extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QLibraryInfo::LibraryPath

*/ @QtRejectedEntries({"Qml2ImportsPath"}) public enum LibraryPath implements QtEnumerator { /** *

Representing QLibraryInfo::PrefixPath

*/ PrefixPath(0), /** *

Representing QLibraryInfo::DocumentationPath

*/ DocumentationPath(1), /** *

Representing QLibraryInfo::HeadersPath

*/ HeadersPath(2), /** *

Representing QLibraryInfo::LibrariesPath

*/ LibrariesPath(3), /** *

Representing QLibraryInfo::LibraryExecutablesPath

*/ LibraryExecutablesPath(4), /** *

Representing QLibraryInfo::BinariesPath

*/ BinariesPath(5), /** *

Representing QLibraryInfo::PluginsPath

*/ PluginsPath(6), /** *

Representing QLibraryInfo::QmlImportsPath

*/ QmlImportsPath(7), /** *

Representing QLibraryInfo::Qml2ImportsPath

*/ Qml2ImportsPath(7), /** *

Representing QLibraryInfo::ArchDataPath

*/ ArchDataPath(8), /** *

Representing QLibraryInfo::DataPath

*/ DataPath(9), /** *

Representing QLibraryInfo::TranslationsPath

*/ TranslationsPath(10), /** *

Representing QLibraryInfo::ExamplesPath

*/ ExamplesPath(11), /** *

Representing QLibraryInfo::TestsPath

*/ TestsPath(12), /** *

Representing QLibraryInfo::SettingsPath

*/ SettingsPath(100); static { QtJambi_LibraryUtilities.initialize(); } private LibraryPath(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull LibraryPath resolve(int value) { switch (value) { case 0: return PrefixPath; case 1: return DocumentationPath; case 2: return HeadersPath; case 3: return LibrariesPath; case 4: return LibraryExecutablesPath; case 5: return BinariesPath; case 6: return PluginsPath; case 7: return QmlImportsPath; case 8: return ArchDataPath; case 9: return DataPath; case 10: return TranslationsPath; case 11: return ExamplesPath; case 12: return TestsPath; case 100: return SettingsPath; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QLibraryInfo::build()

*/ public native static java.lang.@Nullable String build(); /** *

See QLibraryInfo::isDebugBuild()

*/ public native static boolean isDebugBuild(); /** *

See QLibraryInfo::isSharedBuild()

*

This function was introduced in Qt 6.5.

*/ public native static boolean isSharedBuild(); /** *

See QLibraryInfo::location(QLibraryInfo::LibraryLocation)

* * @deprecated Use {@link io.qt.core.QLibraryInfo#path(io.qt.core.QLibraryInfo.LibraryPath)} instead */ @Deprecated public static java.lang.@NonNull String location(io.qt.core.QLibraryInfo.@NonNull LibraryPath location){ return location_native_QLibraryInfo_LibraryPath(location.value()); } @Deprecated private native static java.lang.String location_native_QLibraryInfo_LibraryPath(int location); /** *

See QLibraryInfo::path(QLibraryInfo::LibraryPath)

*

This function was introduced in Qt 6.0.

*/ public static java.lang.@NonNull String path(io.qt.core.QLibraryInfo.@NonNull LibraryPath p){ return path_native_QLibraryInfo_LibraryPath(p.value()); } private native static java.lang.String path_native_QLibraryInfo_LibraryPath(int p); /** *

See QLibraryInfo::platformPluginArguments(QString)

*/ public native static io.qt.core.@NonNull QStringList platformPluginArguments(java.lang.@NonNull String platformName); /** *

See QLibraryInfo::version()

*/ public native static io.qt.core.@NonNull QVersionNumber version(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess private QLibraryInfo(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy