mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 18:24:33 +00:00
added web Engine tests
This commit is contained in:
parent
af26a37a45
commit
daf835e0e6
@ -217,6 +217,14 @@ bool Extracter::copyTranslations(QStringList list) {
|
||||
_fileManager->copyFile(i.absoluteFilePath(), DeployCore::_config->targetDir + DeployCore::_config->distroStruct.getTrOutDir());
|
||||
}
|
||||
|
||||
auto webEngine = static_cast<quint64>(_qtModules) & static_cast<quint64>(DeployCore::QtModule::QtWebEngineModule);
|
||||
|
||||
if (webEngine) {
|
||||
auto trOut = DeployCore::_config->targetDir + DeployCore::_config->distroStruct.getTrOutDir();
|
||||
auto tr = DeployCore::_config->qtDir + "/translations/qtwebengine_locales";
|
||||
_fileManager->copyFolder(tr, trOut + "/qtwebengine_locales");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,7 @@ public:
|
||||
static QSet<QString> qtLibs();
|
||||
static QSet<QString> qmlLibs();
|
||||
static QSet<QString> qtWithoutTr();
|
||||
static QSet<QString> qtWebEngine();
|
||||
|
||||
};
|
||||
|
||||
|
@ -456,14 +456,7 @@ void deploytest::testWebEngine() {
|
||||
|
||||
#endif
|
||||
|
||||
auto comapareTree = utils.createTree(
|
||||
{
|
||||
"./Distro/QtWidgetsProject.sh",
|
||||
"./Distro/bin/QtWidgetsProject",
|
||||
"./Distro/lib/libicudata.so",
|
||||
"./Distro/lib/libicui18n.so",
|
||||
"./Distro/lib/libicuuc.so"
|
||||
});
|
||||
auto comapareTree = Modules::qtWebEngine();
|
||||
|
||||
|
||||
runTestParams({"-bin", bin, "clear" ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user