os:win specific remove rc file

qmake can auto generate the rc file.
This commit is contained in:
xiaoyifang 2022-02-19 20:56:32 +08:00
parent a30db4b3b6
commit 5f3c269098
3 changed files with 1 additions and 55 deletions

View file

@ -1,14 +0,0 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>

View file

@ -96,8 +96,7 @@ win32 {
-lavcodec
}
RC_FILE = goldendict.rc
RC_ICONS += icons/programicon.ico icons/programicon_old.ico
INCLUDEPATH += winlibs/include
# Enable console in Debug mode on Windows, with useful logging messages

View file

@ -1,39 +0,0 @@
#include "windows.h"
IDI_ICON1 ICON DISCARDABLE "icons/programicon.ico"
IDI_ICON2 ICON DISCARDABLE "icons/programicon_old.ico"
#define GOLDENDICT_VER 1,5,0,0
#define GOLDENDICT_VER_STR "1.5.0"
#if !defined( _MSC_VER ) && !defined( GD_NO_MANIFEST ) // Visual Studio embeds the manifest automatically
1 RT_MANIFEST GoldenDict.exe.manifest
#endif
1 VERSIONINFO
FILEVERSION GOLDENDICT_VER
PRODUCTVERSION GOLDENDICT_VER
FILEFLAGS 0x0L
FILEFLAGSMASK 0x3fL
FILEOS 0x00040004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", "GoldenDict"
VALUE "FileDescription", "GoldenDict dictionary lookup program"
VALUE "FileVersion", GOLDENDICT_VER_STR
VALUE "LegalCopyright", "www.goldendict.org"
VALUE "InternalName", "goldendict"
VALUE "OriginalFilename", "goldendict.exe"
VALUE "ProductName", "GoldenDict"
VALUE "ProductVersion", GOLDENDICT_VER_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0, 1200
END
END