#include "qxlibstatic.h"
#include "qxlibscreen.h"
#include "qxlibdisplay.h"
#include <qplatformdefs.h>
#include <QtGui/private/qapplication_p.h>
#include <QtCore/QBuffer>
#include <QtCore/QLibrary>
#include <QDebug>
Go to the source code of this file.
◆ XFIXES_LOAD_RUNTIME
#define XFIXES_LOAD_RUNTIME |
( |
|
vernum, |
|
|
|
symbol, |
|
|
|
symbol_type |
|
) |
| (symbol_type)qt_load_library_runtime("libXfixes", vernum, 4, #symbol); |
◆ XFIXES_LOAD_V1
◆ XFIXES_LOAD_V2
◆ Q_GLOBAL_STATIC()
◆ qt_load_library_runtime()
static void* qt_load_library_runtime |
( |
const char * |
library, |
|
|
int |
vernum, |
|
|
int |
highestVernum, |
|
|
const char * |
symbol |
|
) |
| |
|
static |
Try to resolve a symbol from library with the version specified by vernum.
- Warning
- This function is not part of the public interface.
Note that, in the case of the Xfixes library, vernum is not the same as XFIXES_MAJOR
- it is a part of soname and may differ from the Xfixes version.
Definition at line 224 of file qxlibstatic.cpp.
234 for(
int i = highestVernum; i > vernum; --i)
239 QLibrary xfixesLib(libName, version);
240 void *
ptr = xfixesLib.resolve(symbol);
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
const T * ptr(const T &t)
#define Q_FOREACH(variable, container)
Same as foreach(variable, container).
The QLibrary class loads shared libraries at runtime.
◆ x11_atomnames
const char* x11_atomnames |
|
static |