CQtDeployer/tests/modules/modulesqt6_5.cpp

120 lines
3.1 KiB
C++
Raw Normal View History

2023-05-29 15:55:13 +02:00
/*
2023-12-31 09:24:12 +01:00
* Copyright (C) 2023-2024 QuasarApp.
2023-05-29 15:55:13 +02:00
* Distributed under the lgplv3 software license, see the accompanying
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
#include "modulesqt6_5.h"
ModulesQt6_5::ModulesQt6_5()
{
}
QSet<QString> ModulesQt6_5::qmlLibs(const QString &distDir) const {
TestUtils utils;
auto Tree = ModulesQt6_4::qmlLibs(distDir);
Tree -= utils.createTree(
{
2023-07-20 01:10:12 +02:00
"./" + distDir + "/qml/QtQml/qmlplugin.dll",
2023-05-29 15:55:13 +02:00
"./" + distDir + "/qml/QtQml/libqmlplugin.so",
"./" + distDir + "/qml/QtQml/plugins.qmltypes"
}
);
2023-05-29 15:55:13 +02:00
2023-07-20 01:10:12 +02:00
#ifdef Q_OS_WIN
Tree += utils.createTree(
{
"./" + distDir + "/qml/QtQml/Base/qmlplugin.dll",
"./" + distDir + "/qml/QtQml/Base/plugins.qmltypes",
"./" + distDir + "/qml/QtQml/Base/qmldir",
"./" + distDir + "/qml/QtQml/qmlmetaplugin.dll",
2023-07-20 01:19:36 +02:00
"./" + distDir + "/qml/QtQuick/Controls/Material/impl/RoundedElevationEffect.qml",
2023-07-20 01:10:12 +02:00
"./" + distDir + "/qml/QtQuick/Controls/Windows/ApplicationWindow.qml"
}
);
#else
Tree += utils.createTree(
{
"./" + distDir + "/qml/QtQml/Base/libqmlplugin.so",
"./" + distDir + "/qml/QtQml/Base/plugins.qmltypes",
"./" + distDir + "/qml/QtQml/Base/qmldir",
"./" + distDir + "/qml/QtQml/libqmlmetaplugin.so",
"./" + distDir + "/plugins/networkinformation/libqglib.so",
2023-07-20 01:10:12 +02:00
"./" + distDir + "/qml/QtQuick/Controls/Material/impl/RoundedElevationEffect.qml"
}
);
#endif
2023-05-29 15:55:13 +02:00
return Tree;
}
QSet<QString> ModulesQt6_5::qmlVirtualKeyBoadrLibs(const QString &distDir) const {
TestUtils utils;
auto Tree = ModulesQt6_4::qmlVirtualKeyBoadrLibs(distDir);
2024-03-06 10:13:37 +01:00
#ifdef Q_OS_WIN
Tree += utils.createTree(
{
"./" + distDir + "/plugins/multimedia/ffmpegmediaplugin.dll",
"./" + distDir + "/plugins/multimedia/windowsmediaplugin.dll"
}
);
#else
Tree += utils.createTree(
{
"./" + distDir + "/plugins/multimedia/libffmpegmediaplugin.so",
"./" + distDir + "/plugins/multimedia/libgstreamermediaplugin.so"
}
);
#endif
2023-05-29 15:55:13 +02:00
return Tree;
}
QSet<QString> ModulesQt6_5::qtWebEngine(const QString &distDir) const
{
TestUtils utils;
auto Tree = ModulesQt6_4::qtWebEngine(distDir);
return Tree;
}
2023-07-19 22:35:39 +02:00
QSet<QString> ModulesQt6_5::qtLibs(const QString &distDir) const {
auto Tree = ModulesQt6_4::qtLibs(distDir);
TestUtils utils;
#ifdef Q_OS_WIN
Tree += utils.createTree(
{
"./" + distDir + "/plugins/platforms/qdirect2d.dll",
}
);
2024-02-05 19:28:56 +01:00
2023-07-19 22:35:39 +02:00
#endif
return Tree;
}
2023-05-29 15:55:13 +02:00
QSet<QString> ModulesQt6_5::qtWebEngineWidgets(const QString &distDir) const
{
TestUtils utils;
auto Tree = ModulesQt6_4::qtWebEngineWidgets(distDir);
#ifdef Q_OS_LINUX
Tree += utils.createTree(
{
"./" + distDir + "/plugins/networkinformation/libqglib.so",
}
);
#endif
2023-05-29 15:55:13 +02:00
return Tree;
}