42 #include "qplatformdefs.h" 48 #include <private/qfilesystementry_p.h> 50 #if defined(QT_NO_LIBRARY) && defined(Q_OS_WIN) 52 #pragma message("QT_NO_LIBRARY is not supported on Windows") 103 if (fsEntry.isAbsolute()) {
107 #if defined(Q_OS_WINCE) 118 #if defined(Q_OS_WINCE) 130 if (
pHnd || ::GetLastError() != ERROR_MOD_NOT_FOUND)
141 wchar_t buffer[MAX_PATH];
142 ::GetModuleFileName(
pHnd, buffer, MAX_PATH);
146 const QDir dir(fsEntry.path());
157 if (!FreeLibrary(
pHnd)) {
170 void* address = (
void*)GetProcAddress(
pHnd, symbol);
static QString fromWCharArray(const wchar_t *, int size=-1)
Returns a copy of the string, where the encoding of string depends on the size of wchar...
The QDir class provides access to directory structures and their contents.
#define QT_END_NAMESPACE
This macro expands to.
static QString fromAscii(const char *, int size=-1)
Returns a QString initialized with the first size characters from the string str. ...
#define SEM_FAILCRITICALERRORS
static QString tr(const char *sourceText, const char *comment=0, int n=-1)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
enum QLibraryPrivate::@42 pluginState
void prepend(const T &t)
Inserts value at the beginning of the list.
The QStringList class provides a list of strings.
void * resolve_sys(const char *)
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
void clear()
Clears the contents of the string and makes it empty.
int lastIndexOf(QChar c, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
QString qt_error_string(int code)
#define SEM_NOOPENFILEERRORBOX
#define Q_FOREACH(variable, container)
Same as foreach(variable, container).
QString & remove(int i, int len)
Removes n characters from the string, starting at the given position index, and returns a reference t...
The QFileInfo class provides system-independent file information.
static QString toNativeSeparators(const QString &pathName)
Returns pathName with the '/' separators converted to separators that are appropriate for the underly...
QLibrary::LoadHints loadHints
QString qualifiedFileName
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
const ushort * utf16() const
Returns the QString as a '\0\'-terminated array of unsigned shorts.