Skip to content

Commit 777e20e

Browse files
committed
Feat: 添加资源文件QmlControls_Resource.rc并更新.gitignore以排除.rc文件.
1 parent 5819dc1 commit 777e20e

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ package/
88
Makefile
99
Makefile.*
1010
*.stash
11-
*.rc
1211
*.exe
1312
*.qmlc
1413
*qmlcache.qrc

common/QmlControls_Resource.rc

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#include <windows.h>
2+
3+
IDI_ICON1 ICON "./delegateui_icon.ico"
4+
5+
6+
VS_VERSION_INFO VERSIONINFO
7+
FILEVERSION 1.0.0.0
8+
PRODUCTVERSION 1.0.0.0
9+
FILEFLAGSMASK 0x3fL
10+
#ifdef _DEBUG
11+
FILEFLAGS VS_FF_DEBUG
12+
#else
13+
FILEFLAGS 0x0L
14+
#endif
15+
FILEOS VOS_NT_WINDOWS32
16+
FILETYPE VFT_APP
17+
FILESUBTYPE VFT2_UNKNOWN
18+
BEGIN
19+
BLOCK "StringFileInfo"
20+
BEGIN
21+
BLOCK "080404b0"
22+
BEGIN
23+
VALUE "Comments", "DelegateUI"
24+
VALUE "CompanyName", "DelegateUI"
25+
VALUE "FileDescription", "https://github.com/mengps/QmlControls"
26+
VALUE "FileVersion", "1.0.0.0"
27+
VALUE "InternalName", "DelegateUI"
28+
VALUE "LegalCopyright", "Copyright (C) 2025 mengps. All rights reserved."
29+
VALUE "LegalTrademarks", ""
30+
VALUE "OriginalFilename", ""
31+
VALUE "ProductName", ""
32+
VALUE "ProductVersion", "1.0.0.0"
33+
END
34+
END
35+
BLOCK "VarFileInfo"
36+
BEGIN
37+
VALUE "Translation", 0x804, 1200
38+
END
39+
END

0 commit comments

Comments
 (0)