Update instructions for downloading the shared-mime-info release
s-m-i moved to gitlab.freedesktop.org Change-Id: Ifc41eecfe27c4fba0132d54234b481ed301a66dd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
cccc9d0b95
commit
123cf74dd0
@ -73,12 +73,12 @@ static inline QString testSuiteWarning()
|
|||||||
str << "\nCannot find the shared-mime-info test suite\nstarting from: "
|
str << "\nCannot find the shared-mime-info test suite\nstarting from: "
|
||||||
<< QDir::toNativeSeparators(QDir::currentPath()) << "\n"
|
<< QDir::toNativeSeparators(QDir::currentPath()) << "\n"
|
||||||
"cd " << QDir::toNativeSeparators(QStringLiteral("tests/auto/corelib/mimetypes/qmimedatabase")) << "\n"
|
"cd " << QDir::toNativeSeparators(QStringLiteral("tests/auto/corelib/mimetypes/qmimedatabase")) << "\n"
|
||||||
"wget http://cgit.freedesktop.org/xdg/shared-mime-info/snapshot/Release-1-10.zip\n"
|
"wget https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/Release-1-10/shared-mime-info-Release-1-10.zip\n"
|
||||||
"unzip Release-1-10.zip\n";
|
"unzip shared-mime-info-Release-1-10.zip\n";
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
str << "mkdir testfiles\nxcopy /s Release-1-10 s-m-i\n";
|
str << "mkdir testfiles\nxcopy /s shared-mime-info-Release-1-10 s-m-i\n";
|
||||||
#else
|
#else
|
||||||
str << "ln -s Release-1-10 s-m-i\n";
|
str << "ln -s shared-mime-info-Release-1-10 s-m-i\n";
|
||||||
#endif
|
#endif
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user