tst_qdir: Fix absoluteFilePath for winrt
The drive has to be defined for every Windows configuration (also including winrt). Change-Id: I94a3131b8aec20cda97dc78f55b1d87aa10240e4 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
parent
8d7edf18eb
commit
215e0f35d0
@ -1387,6 +1387,9 @@ void tst_QDir::absoluteFilePath_data()
|
|||||||
#if defined(Q_OS_WIN) && !defined(Q_OS_WINRT)
|
#if defined(Q_OS_WIN) && !defined(Q_OS_WINRT)
|
||||||
QTest::newRow("UNC") << "//machine" << "share" << "//machine/share";
|
QTest::newRow("UNC") << "//machine" << "share" << "//machine/share";
|
||||||
QTest::newRow("Drive") << "c:/side/town" << "/my/way/home" << "c:/my/way/home";
|
QTest::newRow("Drive") << "c:/side/town" << "/my/way/home" << "c:/my/way/home";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
#define DRIVE "Q:"
|
#define DRIVE "Q:"
|
||||||
#else
|
#else
|
||||||
#define DRIVE
|
#define DRIVE
|
||||||
|
Loading…
Reference in New Issue
Block a user