Tests: fix namespaced build on Windows
Amends 371214dea7
.
tst_qfile.cpp:401:9: error: reference to ‘QTest’ is ambiguous
qttestglobal.h:27:11: note: candidates are: ‘namespace TestNamespace::QTest { }
filesystem.h:28:11: note: ‘namespace QTest { }’
Pick-to: 6.4
Change-Id: I07ec23f3cb174fb197c3fffd17215c1eeeadf7fd
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
089bbfc307
commit
d18d341341
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user