From 3bb7f2db82b412b024e82e393e82ba6e5e6503c2 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 14 Jun 2022 02:41:52 +0300 Subject: [PATCH] print the error string that QFile::errorString() returns from qt_unix_query() function Signed-off-by: Ivailo Monev --- src/core/plugin/qlibrary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/plugin/qlibrary.cpp b/src/core/plugin/qlibrary.cpp index 2e8481a87..947f11d0d 100644 --- a/src/core/plugin/qlibrary.cpp +++ b/src/core/plugin/qlibrary.cpp @@ -146,7 +146,7 @@ static bool qt_unix_query(const QString &library, QLibraryPrivate *lib) lib->errorString = file.errorString(); if (qt_debug_component()) { qWarning("%s: %s", QFile::encodeName(library).data(), - qPrintable(qt_error_string(errno))); + qPrintable(lib->errorString)); } return false; } -- 2.11.0