Skip to content

Commit

Permalink
Qt/MSVC: Add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
spycrab committed Sep 2, 2017
1 parent 1191280 commit 018c2cf
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/Core/DolphinQt2/DolphinQt2.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
IDI_ICON1 ICON "..\\..\\..\\Installer\\Dolphin.ico"
"dolphin" ICON "..\\..\\..\\Installer\\Dolphin.ico"

3 changes: 3 additions & 0 deletions Source/Core/DolphinQt2/DolphinQt2.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@
<ItemGroup>
<Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DolphinQt2.rc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(ExternalsDir)Bochs_disasm\Bochs_disasm.vcxproj">
<Project>{8ada04d7-6db1-4da4-ab55-64fb12a0997b}</Project>
Expand Down
20 changes: 20 additions & 0 deletions Source/Core/DolphinQt2/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DolphinQt2.rc
//
#define IDI_ICON1 101

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit 018c2cf

Please sign in to comment.