Add Icon to GlosSIConfig

pull/169/head
Peter Repukat 2 years ago
parent cf7ad3752a
commit 6aeb869899

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

@ -164,6 +164,9 @@
<ItemGroup>
<ResourceCompile Include="Resource.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="..\GloSC_Icon.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />

@ -101,4 +101,9 @@
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="..\GloSC_Icon.ico">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
</Project>

@ -51,8 +51,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,4,1
PRODUCTVERSION 0,0,4,1
FILEVERSION 0,0,7,004000070037
PRODUCTVERSION 0,0,7,004000070037
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -69,12 +69,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Peter Repukat - FlatspotSoftware"
VALUE "FileDescription", "GlosSI - Config"
VALUE "FileVersion", "0.0.4.1"
VALUE "FileVersion", "0.0.7.0-4-gcf7ad37"
VALUE "InternalName", "GlosSIConfig"
VALUE "LegalCopyright", "Copyright (C) 2021 Peter Repukat - FlatspotSoftware"
VALUE "OriginalFilename", "GlosSIConfig.exe"
VALUE "ProductName", "GlosSi"
VALUE "ProductVersion", "0.0.4.1"
VALUE "ProductVersion", "0.0.7.0-4-gcf7ad37"
END
END
BLOCK "VarFileInfo"
@ -83,6 +83,16 @@ BEGIN
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "D:\\Alia5\\Documents\\Visual_Studio_Projects\\GlosSI\\GloSC_Icon.ico"
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
@ -114,839 +124,3 @@ END

@ -154,6 +154,10 @@ int main(int argc, char* argv[])
return 1;
}
}
QGuiApplication::setWindowIcon(QIcon(":/GloSC_Icon_small.png"));
#ifdef _WIN32
engine.addImageProvider(QLatin1String("exe"), new ExeImageProvider());
#endif

@ -13,5 +13,6 @@
<file>qml/InfoDialog.qml</file>
<file>steamscreener.png</file>
<file>noise.png</file>
<file>GloSC_Icon_small.png</file>
</qresource>
</RCC>

@ -2,12 +2,13 @@
// Microsoft Visual C++ generated include file.
// Used by Resource.rc
//
#define IDI_ICON1 101
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101

Loading…
Cancel
Save