2017-06-17 17:26:19 +01:00
|
|
|
Index: qtbase-opensource-src-5.9.0/src/plugins/platforms/xcb/qxcbcursor.cpp
|
2017-02-28 15:37:57 +00:00
|
|
|
===================================================================
|
2017-06-17 17:26:19 +01:00
|
|
|
--- qtbase-opensource-src-5.9.0.orig/src/plugins/platforms/xcb/qxcbcursor.cpp
|
|
|
|
+++ qtbase-opensource-src-5.9.0/src/plugins/platforms/xcb/qxcbcursor.cpp
|
|
|
|
@@ -311,10 +311,10 @@ QXcbCursor::QXcbCursor(QXcbConnection *c
|
|
|
|
#if defined(XCB_USE_XLIB) && QT_CONFIG(library)
|
2017-02-28 15:37:57 +00:00
|
|
|
static bool function_ptrs_not_initialized = true;
|
|
|
|
if (function_ptrs_not_initialized) {
|
|
|
|
- QLibrary xcursorLib(QLatin1String("Xcursor"), 1);
|
2017-04-15 17:34:00 +01:00
|
|
|
+ QLibrary xcursorLib(QLatin1String(NIXPKGS_LIBXCURSOR), 1);
|
2017-02-28 15:37:57 +00:00
|
|
|
bool xcursorFound = xcursorLib.load();
|
|
|
|
if (!xcursorFound) { // try without the version number
|
|
|
|
- xcursorLib.setFileName(QLatin1String("Xcursor"));
|
2017-04-15 17:34:00 +01:00
|
|
|
+ xcursorLib.setFileName(QLatin1String(NIXPKGS_LIBXCURSOR));
|
2017-02-28 15:37:57 +00:00
|
|
|
xcursorFound = xcursorLib.load();
|
|
|
|
}
|
|
|
|
if (xcursorFound) {
|