aboutsummaryrefslogtreecommitdiffstats
path: root/examples/UserView/UserViewQml/UserViewQml.csproj
blob: 514de223bf4394b0b5aaefd05117643a5b33e606 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<!--
/***************************************************************************************************
 Copyright (C) 2025 The Qt Company Ltd.
 SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
***************************************************************************************************/
-->

<Project>

  <Import Project="$([MSBuild]::GetPathOfFileAbove(qt_version.props))" />

  <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>disable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\UserViewLib\UserViewLib.csproj" />
  </ItemGroup>

  <ItemGroup Condition="'$(SolutionName)' != 'qtdotnet'">
    <PackageReference Include="Qt.Bridge.DotNet" Version="$(SelectedVersion)" />
  </ItemGroup>

  <ItemGroup Condition="'$(SolutionName)' == 'qtdotnet'">
    <ProjectReference Include="..\..\..\src\Qt.DotNet.Adapter\Qt.DotNet.Adapter.csproj" />
    <ProjectReference Include="..\..\..\src\Qt.DotNet.Generator\Qt.DotNet.Generator.csproj" />
    <ProjectReference Include="..\..\..\src\Qt.DotNet.GenerationRules\Qt.DotNet.GenerationRules.csproj" />
    <ProjectReference Include="..\..\..\utils\LazyFactory\LazyFactory.csproj" />
  </ItemGroup>
  <Import Condition="'$(SolutionName)' == 'qtdotnet'" Project="..\..\src\Qt.DotNet.Adapter\build\Qt.DotNet.targets" />

  <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

</Project>