Qnx: Correctly set QT_QPA_FONTDIR

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

Change-Id: I3471abcf3052a181c20dcc1bc2903d111764063b
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
El Mehdi Fekari
2014-05-19 16:00:23 +02:00
committed by Mehdi Fekari
parent 2b9e3ad83f
commit 7c672821cd

View File

@@ -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;