45 #include <QtCore/qobject.h> 53 #if defined(QT_NO_LIBRARY) && defined(Q_OS_WIN) 55 #pragma message("QT_NO_LIBRARY is not supported on Windows") 70 ResolveAllSymbolsHint = 0x01,
71 ExportExternalSymbolsHint = 0x02,
72 LoadArchiveMemberHint = 0x04,
73 ImprovedSearchHeuristics = 0x08
83 void *resolve(
const char *symbol);
84 static void *resolve(
const QString &fileName,
const char *symbol);
85 static void *resolve(
const QString &fileName,
int verNum,
const char *symbol);
86 static void *resolve(
const QString &fileName,
const QString &version,
const char *symbol);
90 bool isLoaded()
const;
92 static bool isLibrary(
const QString &fileName);
94 void setFileName(
const QString &fileName);
97 void setFileNameAndVersion(
const QString &fileName,
int verNum);
98 void setFileNameAndVersion(
const QString &fileName,
const QString &version);
101 void setLoadHints(LoadHints hints);
102 LoadHints loadHints()
const;
105 inline QT3_SUPPORT
void setAutoUnload(
bool ) {}
115 #endif //QT_NO_LIBRARY QString fileName
the file name of the library
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
LoadHint
This enum describes the possible hints that can be used to change the way libraries are handled when ...
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
static QString fileName(const QString &fileUrl)
LoadHints loadHints
Give the load() function some hints on how it should behave.
The QLibrary class loads shared libraries at runtime.