diff --git a/tests/shared/filesystem.h b/tests/shared/filesystem.h index b59baf69b6..03d5cd56e6 100644 --- a/tests/shared/filesystem.h +++ b/tests/shared/filesystem.h @@ -25,9 +25,11 @@ #ifndef SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE // MinGW #define SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE (0x2) #endif +QT_BEGIN_NAMESPACE namespace QTest { static QString uncServerName() { return qgetenv("COMPUTERNAME"); } } +QT_END_NAMESPACE #endif // QTemporaryDir-based helper class for creating file-system hierarchies and cleaning up.