QmlDesigner: Merge cmake files

To improve testability external dependencies are now broken with an
interface. It is a first step to test individual units without injection
of source files.

Task-number: QDS-7571
Change-Id: I4255c8668022f1097947e4ea5788f2a6b605365d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2022-09-15 15:01:49 +02:00
committed by Tim Jenssen
parent 8b028a69a7
commit 78cf5051f5
165 changed files with 1865 additions and 2077 deletions

View File

@@ -67,6 +67,13 @@ QProcessEnvironment PuppetEnvironmentBuilder::processEnvironment() const
return m_environment.toProcessEnvironment();
}
QProcessEnvironment PuppetEnvironmentBuilder::createEnvironment(
ProjectExplorer::Target *target, const DesignerSettings &designerSettings, const Model &model)
{
PuppetEnvironmentBuilder builder{target, designerSettings, model};
return builder.processEnvironment();
}
bool PuppetEnvironmentBuilder::usesVirtualKeyboard() const
{
if (m_target) {