Test idea that Qt classes internally use ICU.
--HG-- branch : develop
This commit is contained in:
@ -354,8 +354,9 @@ void VAbstractApplication::SetICUData(int &argc, char **argv)
|
|||||||
* This prevents the library from using shared in memory data. There are few ways to resolve this issue. According
|
* This prevents the library from using shared in memory data. There are few ways to resolve this issue. According
|
||||||
* to documentation we can either use ICU_DATA environment variable or the function u_setDataDirectory().
|
* to documentation we can either use ICU_DATA environment variable or the function u_setDataDirectory().
|
||||||
*/
|
*/
|
||||||
const QString appDirPath = QFileInfo(ApplicationFilePath(argc, argv)).path();
|
// const QString appDirPath = QFileInfo(ApplicationFilePath(argc, argv)).path();
|
||||||
u_setDataDirectory(QString(appDirPath + QStringLiteral("/../share/icu")).toUtf8().constData());
|
// u_setDataDirectory(QString(appDirPath + QStringLiteral("/../share/icu")).toUtf8().constData());
|
||||||
|
u_setDataDirectory("/home/dismine");
|
||||||
}
|
}
|
||||||
#endif // defined(Q_OS_LINUX)
|
#endif // defined(Q_OS_LINUX)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user