From 1d28dd5be943e627915f9a4553a8b399f5287555 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 29 Nov 2019 08:15:29 +0200 Subject: [PATCH] u_setDataDirectory expects const * char. --HG-- branch : develop --- src/libs/vmisc/vabstractapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vmisc/vabstractapplication.cpp b/src/libs/vmisc/vabstractapplication.cpp index 0838a048d..f0f1a7369 100644 --- a/src/libs/vmisc/vabstractapplication.cpp +++ b/src/libs/vmisc/vabstractapplication.cpp @@ -355,7 +355,7 @@ void VAbstractApplication::SetICUData(int &argc, char **argv) * to documentation we can either use ICU_DATA environment variable or the function u_setDataDirectory(). */ const QString appDirPath = QFileInfo(ApplicationFilePath(argc, argv)).path(); - u_setDataDirectory(QString(appDirPath + QStringLiteral("/../share/icu")).toUtf8()); + u_setDataDirectory(QString(appDirPath + QStringLiteral("/../share/icu")).toUtf8().constData()); } #endif // defined(Q_OS_LINUX)