mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
ba94dd1314
It uses excellent Visual Studio extensions for Qt, written by Adam Badura (@adambadura). Many thanks! The project file is fully functional in Release-Qt4 configuration, for both x32 and x64 architectures. I decided not to use the official Qt Plugin, since it generates HUGE and broken project files which is painful to maintain. Here we have a pure visual studio solution with proper Visual Studio extensions to support Qt-based development. These extensions cover RCC, Lrelease, MOC and UIC, automagically invoking them when needed, with basically no need for manual steps to maintain. Also, GoldenDict can be built from the command line as well, no Visual Studio is required: For Win32: MSBuild /m goldendict.sln /v:m /nologo /p:Configuration=Release-Qt4 /p:Platform=win32 For x64: MSBuild /m goldendict.sln /v:m /nologo /p:Configuration=Release-Qt4 /p:Platform=x64
40 lines
979 B
Plaintext
40 lines
979 B
Plaintext
#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"
|
|
|
|
#ifndef _MSC_VER // 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
|