Push layered Qt host source files

This commit is contained in:
2026-04-17 16:25:19 +08:00
parent b576d3f19d
commit 89b23b2291
58 changed files with 10349 additions and 2461 deletions

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="18.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
@@ -15,19 +15,21 @@
<Keyword>QtVS_v304</Keyword>
<WindowsTargetPlatformVersion Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">10.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">10.0</WindowsTargetPlatformVersion>
<QtMsBuild Condition="'$(QtMsBuild)'=='' AND Exists('$(LocalAppData)\QtMsBuild\qt.targets')">$(LocalAppData)\QtMsBuild</QtMsBuild>
<QtMsBuild Condition="'$(QtMsBuild)'=='' OR !Exists('$(QtMsBuild)\qt.targets')">$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
<QtMsBuild Condition="'$(QtMsBuild)'=='' AND Exists('$(LocalAppData)\\QtMsBuild\\qt.targets')"
>$(LocalAppData)\QtMsBuild</QtMsBuild>
<QtMsBuild Condition="'$(QtMsBuild)'=='' OR !Exists('$(QtMsBuild)\qt.targets')"
>$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
@@ -36,18 +38,32 @@
<ImportGroup Condition="Exists('$(QtMsBuild)\qt_defaults.props')">
<Import Project="$(QtMsBuild)\qt_defaults.props" />
</ImportGroup>
<!-- 兼容 QTDIR/QT 指向 Qt 根目录或 bin 目录,并在本机已安装 Qt 但未注册到 Qt VS Tools 时提供兜底路径。 -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'" Label="QtSettings">
<QtInstall>D:\Qt\5.13.1\msvc2015_64</QtInstall>
<QtModules>core;gui;widgets</QtModules>
<QtInstall Condition="'$(QTDIR)' != '' AND Exists('$(QTDIR)\\qmake.exe')">$([System.IO.Path]::GetDirectoryName('$(QTDIR)'))</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND '$(QTDIR)' != '' AND Exists('$(QTDIR)\\bin\\qmake.exe')">$(QTDIR)</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND '$(QT)' != '' AND Exists('$(QT)\\qmake.exe')">$([System.IO.Path]::GetDirectoryName('$(QT)'))</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND '$(QT)' != '' AND Exists('$(QT)\\bin\\qmake.exe')">$(QT)</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND Exists('D:\\App\\Qt\\5.13.1\\msvc2015_64\\bin\\qmake.exe')">D:\App\Qt\5.13.1\msvc2015_64</QtInstall>
<QtInstall Condition="'$(QtInstall)' == ''">5.13.1_msvc2015_64</QtInstall>
<QtModules>core;gui;widgets;serialport;bluetooth</QtModules>
<QtBuildConfig>debug</QtBuildConfig>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'" Label="QtSettings">
<QtInstall>D:\Qt\5.13.1\msvc2015_64</QtInstall>
<QtModules>core;gui;widgets</QtModules>
<QtInstall Condition="'$(QTDIR)' != '' AND Exists('$(QTDIR)\\qmake.exe')">$([System.IO.Path]::GetDirectoryName('$(QTDIR)'))</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND '$(QTDIR)' != '' AND Exists('$(QTDIR)\\bin\\qmake.exe')">$(QTDIR)</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND '$(QT)' != '' AND Exists('$(QT)\\qmake.exe')">$([System.IO.Path]::GetDirectoryName('$(QT)'))</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND '$(QT)' != '' AND Exists('$(QT)\\bin\\qmake.exe')">$(QT)</QtInstall>
<QtInstall Condition="'$(QtInstall)' == '' AND Exists('D:\\App\\Qt\\5.13.1\\msvc2015_64\\bin\\qmake.exe')">D:\App\Qt\5.13.1\msvc2015_64</QtInstall>
<QtInstall Condition="'$(QtInstall)' == ''">5.13.1_msvc2015_64</QtInstall>
<QtModules>core;gui;widgets;serialport;bluetooth</QtModules>
<QtBuildConfig>release</QtBuildConfig>
</PropertyGroup>
<Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')">
<Message Importance="High" Text="QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." />
<Target Name="QtMsBuildNotFound"
BeforeTargets="CustomBuild;ClCompile"
Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')">
<Message Importance="High"
Text="QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." />
</Target>
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
@@ -97,42 +113,38 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="APP\APP_GlassCard.cpp" />
<ClCompile Include="APP\APP_KeyButton.cpp" />
<ClCompile Include="APP\APP_KeypadModel.cpp" />
<ClCompile Include="APP\APP_Theme.cpp" />
<ClCompile Include="APP\APP_UIWindow.cpp" />
<ClCompile Include="DRI\Dri_Consumer.cpp" />
<ClCompile Include="DRI\Dri_NkroRaw.cpp" />
<ClCompile Include="DRI\Dri_Vendor.cpp" />
<ClCompile Include="DEBUG\Debug_Panel.cpp" />
<ClCompile Include="LOGIC\Lgc_Consumer.cpp" />
<ClCompile Include="LOGIC\Lgc_Func_Button.cpp" />
<ClCompile Include="LOGIC\Lgc_Core.cpp" />
<ClCompile Include="LOGIC\Lgc_Nkro.cpp" />
<ClCompile Include="LOGIC\Lgc_Vendor.cpp" />
<ClCompile Include="MID\Mid_Def.cpp" />
<ClCompile Include="main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="APP\APP_GlassCard.h" />
<ClInclude Include="APP\APP_KeyButton.h" />
<ClInclude Include="APP\APP_KeypadModel.h" />
<ClInclude Include="APP\APP_Theme.h" />
<ClInclude Include="APP\APP_UIWindow.h" />
<ClInclude Include="DRI\Dri_Consumer.h" />
<ClInclude Include="DRI\Dri_NkroRaw.h" />
<ClInclude Include="DRI\Dri_Vendor.h" />
<ClInclude Include="DEBUG\Debug_Config.h" />
<ClInclude Include="DEBUG\Debug_Panel.h" />
<ClInclude Include="LOGIC\Lgc_Consumer.h" />
<ClInclude Include="LOGIC\Lgc_Func_Button.h" />
<ClInclude Include="LOGIC\Lgc_Core.h" />
<ClInclude Include="LOGIC\Lgc_Nkro.h" />
<ClInclude Include="LOGIC\Lgc_Vendor.h" />
<ClInclude Include="MID\Mid_Def.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="APP\APP_GlassCard.cpp"/>
<ClCompile Include="APP\APP_KeyButton.cpp"/>
<ClCompile Include="APP\APP_KeypadModel.cpp"/>
<ClCompile Include="APP\APP_Theme.cpp"/>
<ClCompile Include="APP\APP_UIWindow.cpp"/>
<ClCompile Include="APP\APP_UIWindow_Feature.cpp"/>
<ClCompile Include="APP\APP_UIWindow_Record.cpp"/>
<ClCompile Include="COM\Com_Protocol.cpp"/>
<ClCompile Include="DRI\Dri_Cdc.cpp"/>
<ClCompile Include="DRI\Dri_Nus.cpp"/>
<ClCompile Include="LOGIC\Lgc_Core.cpp"/>
<ClCompile Include="LOGIC\Lgc_Core_Command.cpp"/>
<ClCompile Include="LOGIC\Lgc_Core_Config.cpp"/>
<ClCompile Include="LOGIC\Lgc_Core_Input.cpp"/>
<ClCompile Include="LOGIC\Lgc_Func_Button.cpp"/>
<ClCompile Include="LOGIC\Lgc_Func_Button_Parse.cpp"/>
<ClCompile Include="LOGIC\Lgc_Func_Button_Run.cpp"/>
<ClCompile Include="main.cpp"/>
<ClInclude Include="APP\APP_GlassCard.h"/>
<ClInclude Include="APP\APP_KeyButton.h"/>
<ClInclude Include="APP\APP_KeypadModel.h"/>
<ClInclude Include="APP\APP_Theme.h"/>
<ClInclude Include="APP\APP_UIWindow.h"/>
<ClInclude Include="APP\APP_UIWindow_Private.h"/>
<ClInclude Include="COM\Com_Def.h"/>
<ClInclude Include="COM\Com_Protocol.h"/>
<ClInclude Include="DRI\Dri_Cdc.h"/>
<ClInclude Include="DRI\Dri_Nus.h"/>
<ClInclude Include="LOGIC\Lgc_Core.h"/>
<ClInclude Include="LOGIC\Lgc_Core_Private.h"/>
<ClInclude Include="LOGIC\Lgc_Func_Button.h"/>
<ClInclude Include="LOGIC\Lgc_Func_Button_Private.h"/>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">