From 74e1ab1adf5f8809017014112460c72787293f7d Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 30 Sep 2021 09:20:31 -0700 Subject: [PATCH] qlibrary.cpp: avoid the +12 constant in too many places Pick-to: 6.2 Change-Id: I2bbf422288924c198645fffd16a9a5f99bf9499e Reviewed-by: Joerg Bornemann --- src/corelib/global/qlibraryinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index b77df87f91..e399369d74 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -735,7 +735,7 @@ void qt_core_boilerplate() "Installation prefix: %s\n" "Library path: %s\n" "Plugin path: %s\n", - qt_configure_prefix_path_str + 12, + QT_CONFIGURE_PREFIX_PATH, qt_configure_strs[QT_PREPEND_NAMESPACE(QLibraryInfo)::LibrariesPath - 1], qt_configure_strs[QT_PREPEND_NAMESPACE(QLibraryInfo)::PluginsPath - 1]);