From 3e90ccaf35729158066d3e87c7ea1527be644d54 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 28 Feb 2024 10:21:21 +0100 Subject: [PATCH] Utils: Fix Qt6.2 build on macOS Change-Id: I2b2ca409b88551dc71b7784ff2d7678fe45e3fc2 Reviewed-by: Alessandro Portale --- src/libs/utils/stylehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/stylehelper.cpp b/src/libs/utils/stylehelper.cpp index 991b43df528..23beeb4b3ff 100644 --- a/src/libs/utils/stylehelper.cpp +++ b/src/libs/utils/stylehelper.cpp @@ -936,7 +936,7 @@ QColor StyleHelper::ensureReadableOn(const QColor &background, const QColor &des static const QStringList &applicationFontFamilies() { const static QStringList families = [] { - constexpr QLatin1String familyName("Inter"); + const QLatin1String familyName("Inter"); // Font is either installed in the system, or was loaded from share/qtcreator/fonts/ return QFontDatabase::hasFamily(familyName) ? QStringList(familyName) : QStringList(); }();