realpath(X,0) IS supported on QNX.
Adds check for Q_OS_QNX to force QFileSystemEntry QFileSystemEngine::canonicalName() use realpath(X, 0) on QNX as well. Change-Id: Id0a32277e6d043753c42101c91a393ebedb48a0a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
547a1f5305
commit
ee592fc042
@ -169,7 +169,7 @@ QFileSystemEntry QFileSystemEngine::canonicalName(const QFileSystemEntry &entry,
|
||||
if (entry.isEmpty() || entry.isRoot())
|
||||
return entry;
|
||||
|
||||
#if !defined(Q_OS_MAC) && _POSIX_VERSION < 200809L
|
||||
#if !defined(Q_OS_MAC) && !defined(Q_OS_QNX) && _POSIX_VERSION < 200809L
|
||||
// realpath(X,0) is not supported
|
||||
Q_UNUSED(data);
|
||||
return QFileSystemEntry(slowCanonicalized(absoluteName(entry).filePath()));
|
||||
|
Loading…
Reference in New Issue
Block a user