blob: 947beae1b18e1a7a20995bce7d5f286f1d8ce30d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#region Task TaskName="HostTranslatePaths" Condition="('$(VisualStudioVersion)' != '16.0' AND '$(VisualStudioVersion)' != '17.0') AND '$(ApplicationType)' == 'Linux' AND '$(PlatformToolset)' == 'WSL_1_0'"
namespace QtVsTools.QtMsBuild.Tasks
{
public static class HostTranslatePaths_LinuxWSL_Error
{
public static QtMSBuild.ITaskLoggingHelper Log { get; set; }
public static bool Execute(
#region Parameters
Microsoft.Build.Framework.ITaskItem[] Items,
out Microsoft.Build.Framework.ITaskItem[] Result,
System.String[] Names = null)
#endregion
{
#region Code
Result = null;
Log.LogError("Cross-compilation of Qt projects in WSL not supported.");
return false;
#endregion
}
}
}
#endregion
|