2
0
mirror of https://github.com/Alia5/GlosSI.git synced 2024-10-30 15:20:38 +00:00
GlosSI/GlosSIConfig/QtMsBuild/qt_settings.targets
Peter Repukat aff24b8a7e This is beyond stupid.
Add QtMsBuild for appveyor -.-
2021-10-28 17:23:26 +02:00

60 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
/****************************************************************************
**
** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt VS Tools.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/
-->
<!--
///////////////////////////////////////////////////////////////////////////////////////////////////
// Add property page for Qt settings
// -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup
Condition="'$(VisualStudioVersion)' == '12.0' OR '$(VisualStudioVersion)' == '14.0'">
<QtVersionsRegKey
>HKEY_CURRENT_USER\Software\Digia\Versions</QtVersionsRegKey>
<QtVersionNames
>$([MSBuild]::GetRegistryValue('$(QtVersionsRegKey)','VersionNames'))</QtVersionNames>
</PropertyGroup>
<ItemGroup Condition="'$(QtVsProjectSettings)' == 'true'">
<PropertyPageSchema
Condition="'$(VisualStudioVersion)' != '12.0' AND '$(VisualStudioVersion)' != '14.0'"
Include="$(MSBuildThisFileDirectory)qt_settings.xml">
<Context>Project;PropertySheet</Context>
</PropertyPageSchema>
<PropertyPageSchema
Condition="'$(VisualStudioVersion)' == '12.0' OR '$(VisualStudioVersion)' == '14.0'"
Include="$(MSBuildThisFileDirectory)qt_settings_vs2015.xml">
<!--
// WORKAROUND: In VS 2013 and VS 2015 property value providers are not supported
// REMOVE when support for VS 2015 is dropped
-->
<Context>Project;PropertySheet</Context>
</PropertyPageSchema>
</ItemGroup>
</Project>