Commit 7c672821 authored by El Mehdi Fekari's avatar El Mehdi Fekari Committed by Mehdi Fekari

Qnx: Correctly set QT_QPA_FONTDIR

The value should contain one unique directory
where the fonts are located.

Change-Id: I3471abcf3052a181c20dcc1bc2903d111764063b
Reviewed-by: default avatarSergio Ahumada <sahumada@blackberry.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 2b9e3ad8
......@@ -73,8 +73,8 @@ Utils::Environment QnxRunConfiguration::environment() const
m_qtLibPath + QLatin1String("/qml:$QML2_IMPORT_PATH"));
env.appendOrSet(QLatin1String("QT_PLUGIN_PATH"),
m_qtLibPath + QLatin1String("/plugins:$QT_PLUGIN_PATH"));
env.appendOrSet(QLatin1String("QT_QPA_FONTDIR"),
m_qtLibPath + QLatin1String("/lib/fonts:$QT_QPA_FONTDIR"));
env.set(QLatin1String("QT_QPA_FONTDIR"),
m_qtLibPath + QLatin1String("/lib/fonts"));
}
return env;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment