summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2017-09-02 23:51:59 +0200
committerspycrab <spycrab@users.noreply.github.com>2017-09-02 23:51:59 +0200
commit018c2cfd659fb9a4ec00809f6c992eb82756e153 (patch)
treeb4581ff02e35de54eb0d56511f232c77507af112 /Source/Core
parent1191280e76ab596eed78641d9169d270a3332ab4 (diff)
Qt/MSVC: Add icon
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/DolphinQt2.rc6
-rw-r--r--Source/Core/DolphinQt2/DolphinQt2.vcxproj3
-rw-r--r--Source/Core/DolphinQt2/resource.h20
3 files changed, 29 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/DolphinQt2.rc b/Source/Core/DolphinQt2/DolphinQt2.rc
new file mode 100644
index 0000000000..b1471b1760
--- /dev/null
+++ b/Source/Core/DolphinQt2/DolphinQt2.rc
@@ -0,0 +1,6 @@
+// Microsoft Visual C++ generated resource script.
+//
+#include "resource.h"
+IDI_ICON1 ICON "..\\..\\..\\Installer\\Dolphin.ico"
+"dolphin" ICON "..\\..\\..\\Installer\\Dolphin.ico"
+
diff --git a/Source/Core/DolphinQt2/DolphinQt2.vcxproj b/Source/Core/DolphinQt2/DolphinQt2.vcxproj
index b9c97c4ccc..f76dbbf75d 100644
--- a/Source/Core/DolphinQt2/DolphinQt2.vcxproj
+++ b/Source/Core/DolphinQt2/DolphinQt2.vcxproj
@@ -247,6 +247,9 @@
<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>
</ProjectReference>
diff --git a/Source/Core/DolphinQt2/resource.h b/Source/Core/DolphinQt2/resource.h
new file mode 100644
index 0000000000..08c25f1111
--- /dev/null
+++ b/Source/Core/DolphinQt2/resource.h
@@ -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