1 From 707098eada20ba074e642a73248de74407bc261c Mon Sep 17 00:00:00 2001
2 From: Thomas Tuegel <ttuegel@mailbox.org>
3 Date: Tue, 17 Sep 2019 05:35:58 -0500
4 Subject: [PATCH 07/11] qtbase-xcursor
7 src/plugins/platforms/xcb/qxcbcursor.cpp | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/src/plugins/platforms/xcb/qxcbcursor.cpp b/src/plugins/platforms/xcb/qxcbcursor.cpp
11 index 42c7a52bd4..ba670ddb44 100644
12 --- a/src/plugins/platforms/xcb/qxcbcursor.cpp
13 +++ b/src/plugins/platforms/xcb/qxcbcursor.cpp
14 @@ -317,10 +317,10 @@ QXcbCursor::QXcbCursor(QXcbConnection *conn, QXcbScreen *screen)
15 #if QT_CONFIG(xcb_xlib) && QT_CONFIG(library)
16 static bool function_ptrs_not_initialized = true;
17 if (function_ptrs_not_initialized) {
18 - QLibrary xcursorLib(QLatin1String("Xcursor"), 1);
19 + QLibrary xcursorLib(QLatin1String(NIXPKGS_LIBXCURSOR), 1);
20 bool xcursorFound = xcursorLib.load();
21 if (!xcursorFound) { // try without the version number
22 - xcursorLib.setFileName(QLatin1String("Xcursor"));
23 + xcursorLib.setFileName(QLatin1String(NIXPKGS_LIBXCURSOR));
24 xcursorFound = xcursorLib.load();