Skip to content

Commit

Permalink
Add a small windows style .rc fileso that the applications get the ic…
Browse files Browse the repository at this point in the history
…on set correctly.
  • Loading branch information
perdrix52 committed Oct 16, 2024
1 parent 42bd7d4 commit 79eeb0f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DeepSkyStacker/DeepSkyStacker.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,9 @@ $(QtToolsPath)\windeployqt --pdb $(TargetPath)</Command>
<QtTranslation Include="i18n\DSS_zh_CN.ts" />
<QtTranslation Include="i18n\DSS_zh_TW.ts" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Icon.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />
Expand Down
5 changes: 5 additions & 0 deletions DeepSkyStacker/DeepSkyStacker.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -796,4 +796,9 @@
<Filter>Qt\i18n</Filter>
</QtTranslation>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Icon.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions DeepSkyStacker/Icon.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#define IDI_ICO 1

IDI_ICO ICON DISCARDABLE "../DeepSkyStacker/Icon/app.ico"
3 changes: 3 additions & 0 deletions DeepSkyStackerCL/DeepSkyStackerCL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@
<ItemGroup>
<QtRcc Include="i18n\translations.qrc" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DeepSkyStacker\Icon.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />
Expand Down
5 changes: 5 additions & 0 deletions DeepSkyStackerCL/DeepSkyStackerCL.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -353,4 +353,9 @@
<Filter>Qt\i18n</Filter>
</QtRcc>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DeepSkyStacker\Icon.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions DeepSkyStackerLive/DeepSkyStackerLive.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@
<ItemGroup>
<None Include="..\include\SmtpMime\SmtpMime" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DeepSkyStacker\Icon.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />
Expand Down
5 changes: 5 additions & 0 deletions DeepSkyStackerLive/DeepSkyStackerLive.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,9 @@
<Filter>Header Files\SmtpMime</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\DeepSkyStacker\Icon.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

0 comments on commit 79eeb0f

Please sign in to comment.